<div><h2>Fetched Data</h2></div>
<div>
<table width="100%" border="0">
<tr>
<td><strong>Column 1</strong></td>
<td><strong>Column 2</strong></td>
<td><strong>Column 3</strong></td>
</tr>
<?php while ($rec = mysql_fetch_object($rs)) { ?>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td><?php echo $rec->col1; ?></td>
<td><?php echo $rec->col2; ?></td>
<td><?php echo $rec->col3; ?></td>
</tr>
<?php } ?>
</table>
|