http://levichi.com/index.php?sec=shop
How do you make two tables sit side by side? Every time, it inserts an implicit line break. In the link above, you’ll see two designs. Each is in it’s own table.
// display thumbnail with artist's name
while($row = mysql_fetch_array($rs))
{
$prodPage = "index.php?sec=product&id=" . $row["id"];
$title = $row["title"];
$name = $row["name"];
$web = "http://www." . $row["web"];
$thumbnail = "shop/" . $title . "_thumbnail.gif";
$alt = $title . " by " . $name;
echo("
<table border=\"0\" cellspacing=\"1\" cellpadding=\"5\" background=\"$PLATFORM\">
<tr bgcolor=\"$PLATFORM\">
<td>
<a href=\"$prodPage\" title=\"Goto product page\">
<img src=\"$thumbnail\" alt=\"$alt\">
</a>
</td>
</tr>
<tr bgcolor=\"$PLATFORM\">
<td align=\"center\">
<p><b>$title</b></p>
</ br>
<p>by <a href=\"$web\" title=\"designer's website\" target=\"_blank\">$name</a></p>
</td>
</tr>
</table>
");
// line break after each 3 entries
if($count % 3 == 0)
echo("</ br>");
$count++;
}