PHP beginner |
|
ik ehb dit stukje code:
<table border="0" cellpadding="0" celspacing="0" width="600" align="center">
<!--DWLayoutTable-->
<tr border="0" bgcolor="#999999">
<td width="10" >#id</td>
<td width="109" valign="top">Categorie</td>
<td width="132" valign="top">Titel</td>
<td >Auteur</td>
<td>datum</td>
<td width="42" valign="top">Delete</td>
<td>Bewerk</td>
</tr>
<?php
include("config.php");
$news=mysql_query("SELECT * FROM Nieuws ORDER BY datum DESC") OR die(mysql_error());
while($news1=mysql_fetch_assoc($news)){ ?>
<tr border="0" bgcolor="#CCCCCC">
<td height="21"> <?php echo $news1['nieuws_id'] ?> </td>
<td valign="top"> <?php echo $news1['categorie'] ?> </td>
<td valign="top"> <?php echo $news1['titel']?> </td>
<td> <?php echo $news1['auteur'] ?></td>
<td> <?php echo date("d-m-Y H:i:s", $news1['datum']) ?></td>
<td align="center" valign="top"><a href="?pagina=Anieuws&nieuws=ANverwijder&action=delete&id=<?=$news1['nieuws_id']?>" ><img border=0 src="fotos/delete.gif"></a></td>
<td align="center"><a href="?pagina=Anieuws&nieuws=ANbewerk&action=bewerk&id=<?=$news1['nieuws_id']?>"><img border="0"src="fotos/edit.gif"></a></td>
</tr>
<?php }
mysql_close();
?>
</table>
<table border="0" cellpadding="0" celspacing="0" width="600" align="center"> <!--DWLayoutTable--> <tr border="0" bgcolor="#999999"> <td width="10" >#id</td> <td width="109" valign="top">Categorie</td> <td width="132" valign="top">Titel</td> <td >Auteur</td> <td>datum</td> <td width="42" valign="top">Delete</td> <td>Bewerk</td> </tr> <?php include("config.php"); <tr border="0" bgcolor="#CCCCCC"> <td height="21"> <?php echo $news1['nieuws_id'] ?> </td> <td valign="top"> <?php echo $news1['categorie'] ?> </td> <td valign="top"> <?php echo $news1['titel']?> </td> <td> <?php echo $news1['auteur'] ?></td> <td> <?php echo date("d-m-Y H:i:s", $news1['datum']) ?></td> <td align="center" valign="top"><a href="?pagina=Anieuws&nieuws=ANverwijder&action=delete&id=<?=$news1['nieuws_id']?>" ><img border=0 src="fotos/delete.gif"></a></td> <td align="center"><a href="?pagina=Anieuws&nieuws=ANbewerk&action=bewerk&id=<?=$news1['nieuws_id']?>"><img border="0"src="fotos/edit.gif"></a></td> </tr> <?php } ?> </table>
maar ik krijg nog steeds die irritante borders niet weg:
http://tbkindustries.be/naamloos.GIF
|