Mijn tabel komt zo niet mooi uit,
kan iemand me helpen?
<table border="1" >
<tr bgcolor="#666666">
<th colspan="6" class="style1"> Huidige Gesprekken</th>
</tr>
<tr>
<th bgcolor="#CECFCE" class="style1">Call id</th>
<th bgcolor="#CECFCE" class="style1">Datum</th>
<th bgcolor="#CECFCE" class="style1">Tijd</th>
<th bgcolor="#CECFCE" class="style1">Clip</th>
<th bgcolor="#CECFCE" class="style1">Destination</th>
<th bgcolor="#CECFCE" class="style1">Omschrijving</th>
</tr>
<?php
//resultaten opslaan
$gegevens= mysql_query ("SELECT * FROM calls " ,$connect);
$sql= mysql_query ("SELECT nummers.omschrijving FROM calls,nummers WHERE calls.destination = nummers.tel " ,$connect);
//gegevens naar het scherm schrijven
while(list($call_id,$datum,$tijd,$clip,$destination)=
mysql_fetch_row($gegevens)){
echo("<tr><td>$call_id</td><td> $datum</td><td> $tijd </td><td> $clip </td><td> $destination</td>");
}
while(list($omschrijving)=
mysql_fetch_row($sql)){
echo("<td>$omschrijving</td> </tr> <br>\n");
}
//connectie afbreken
mysql_close($connect);
?>
</table>
949 views