Nieuw lid |
|
huh..ik snap er nog niet egt veel van:s ?
ik geef mn code er even bij..misschien kan je daar iets mee
echo "<table width=100% cellspacing=0 cellpadding=0>
<tr>
<td width=5%> </td><td width=50% align=center><b>Onderwerp</b></td><td width=25% align=center><b>Afzender</b></td><td width=20% align=center><b>Datum ontvangen</b></td></tr>";
$sql = "SELECT * FROM pm WHERE naar='".$_COOKIE['naam']."' ORDER BY id DESC";
$res = mysql_query($sql) or die(mysql_error());
while($list = mysql_fetch_assoc($res)){
echo "
<tr>
<td width=5%> </td><td width=50% align=center><a href=?actie=bekijk&id=".$list['id'].">".$list['titel']."</a></td><td width=25% align=center>".$list['van']."</td><td width=20% align=center>".$list['datum']."</td>
</tr>";
}
echo "</table>";
echo "<table width=100% cellspacing=0 cellpadding=0> <tr> <td width=5%> </td><td width=50% align=center><b>Onderwerp</b></td><td width=25% align=center><b>Afzender</b></td><td width=20% align=center><b>Datum ontvangen</b></td></tr>"; $sql = "SELECT * FROM pm WHERE naar='".$_COOKIE['naam']."' ORDER BY id DESC"; <tr> <td width=5%> </td><td width=50% align=center><a href=?actie=bekijk&id=".$list['id'].">".$list['titel']."</a></td><td width=25% align=center>".$list['van']."</td><td width=20% align=center>".$list['datum']."</td> </tr>"; }
|