PHP interesse |
|
en wat lukt er nou niet dan?
$sql = mysql_query("SELECT kolom1, kolom2, kolom3
FROM dbase
ORDER BY primarykey");
while($sInfo = mysql_fetch_assoc($sql)) {
<td><?php echo $sInfo['kolom1']; ?></td>
<td><?php echo $sInfo['kolom2']; ?></td>
<td><?php echo $sInfo['kolom3']; ?></td>
} // sluit while-lus
$sql = mysql_query("SELECT kolom1, kolom2, kolom3 FROM dbase ORDER BY primarykey"); while($sInfo = mysql_fetch_assoc($sql)) { <td> <?php echo $sInfo['kolom1']; ?></td> <td> <?php echo $sInfo['kolom2']; ?></td> <td> <?php echo $sInfo['kolom3']; ?></td> } // sluit while-lus
|