This code gives me straight vertical result
$query = "SELECT * FROM `Stores` WHERE Category = 'retail' ";
$result = mysql_query($query) or die(mysql_error());
?>
<table border=1 style="background-color:#F0F8FF;" >
<caption><EM>Stores</EM></caption>
<?php
while($row = mysql_fetch_assoc($result)) {
echo"<td>";
echo "<br/><img src=\"" . $row["Img2"] . "\" border=0 alt=\"
" . $row["Name"] . "\" height=128px width=128px></a>" ;
echo '<br/><br/> Store: '.$row['Name'];
echo '<br/><br/> Deal: '.$row['Deal'];
echo"</td></tr>";
}
?>
So my question would be is there a way to set it to fill horizontally then vertically? (4 to 5 cells wide) Thanks for the help guys

New Topic/Question
Reply



MultiQuote




|