Jacobb123
07-22-2008, 09:27 PM
I have the following code that needs to be lined up sid by side like below:
3 3 3
3 3 3
3 3 3
I can't seem to figure out how to get it done
Here is the code:
<?PHP
$query = mysql_query("Select * from franks_puzzles") or trigger_error(mysql_error());
$i=0;
while($row = mysql_fetch_array($query)){
?>
<table border="1" width = "100">
<tr>
<th scope="col"><img src="images/<?php echo $row['image']; ?>" width ="100" ></th>
</tr>
<tr>
<td><?php echo $row['name']; ?></td>
</tr>
<tr>
<td><?php echo $row['desc']; ?></td>
</tr>
</table>
<? $i++; }
?>
3 3 3
3 3 3
3 3 3
I can't seem to figure out how to get it done
Here is the code:
<?PHP
$query = mysql_query("Select * from franks_puzzles") or trigger_error(mysql_error());
$i=0;
while($row = mysql_fetch_array($query)){
?>
<table border="1" width = "100">
<tr>
<th scope="col"><img src="images/<?php echo $row['image']; ?>" width ="100" ></th>
</tr>
<tr>
<td><?php echo $row['name']; ?></td>
</tr>
<tr>
<td><?php echo $row['desc']; ?></td>
</tr>
</table>
<? $i++; }
?>