Forum Moderators: coopster
This works fine, gives me the photo names in one row in a database.
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['photo1'] . '">' "</td>";
echo "<td>" . $row['photo2'] . "</td>";
echo "</tr>";
}
Now instead of the name, I want to display the images.
So I need:
echo "<td>" <img src="/photos/thumbs/. $row['photo1'] . '">' "</td>";
How do I write these echo lines to display the photos (without parse error, or quotation mark errors)?
Edit: beat me to it willybfriendly!
[edited by: Receptional_Andy at 9:33 pm (utc) on Aug. 20, 2007]