Forum Moderators: coopster
<table style="clear:both; width:500px; margin-top:10px;" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>Picture</th>
<th>City</th>
<th>Details</th>
</tr>
<?php while ($row = mysql_fetch_array($result)){
echo ("<tr class=\"color1\" onmouseout=\"style.backgroundColor='#F3F5F6'\" onclick=\"document.location.href='#.html'\" onmouseover=\"this.style.cursor='pointer'; style.backgroundColor='#ffffff'\" ><td><a href=\"details.php?id=" .$row['id'] . "\"><img src=../../images/".$rij['image']." width=\"130\" height=\"98\" class=\"img_left\" alt=\"\" title=\"\" border=\"0\"/></a></td> " .
"<td>" . $row['city'] . " </td> " .
"<td><a href=\"details.php?id=" .$row['id'] . "\">Click</a></td></tr>" .
" ");
} ?>
</table>