I would like to access mysql database and have columns show up on the page. However, when I use the code below, the images show up one ontop of another. How can I make the table show more than one column?
Thanks: Lesley
Here is the code:
while ($row = mysql_fetch_array($result))
{
extract ($row);
echo "<table border='0' cellpadding='0' cellspacing='1' >";
echo "<tr><td><a href='detailphp.php?name=$name'>$name</a><br>
<a href='detailphp.php?name=$name'>$image</a></td>";
}
Here is the result from the web page:
Camp One
Image
camptwo
image