How about
:
<?PHP
while($row=(mysql_fetch_array(result)) {
echo "
<td>$row['photo']</td><td>$row['info']</td>
";
if ($row=(mysql_fetch_array(result)) {
echo "
<td>$row['photo']</td><td>$row['info']</td>
";
}
echo "</tr>";
}
?>
I find it messy to go in and out of PHP so I modified it to make it all PHP.
Last edited by chrishea; Sep 29th, 2009 at 3:34 pm.
Reputation Points: 210
Solved Threads: 228
Nearly a Posting Virtuoso
Offline 1,389 posts
since Sep 2008