I want to display some images in a table.
This first bit of script displays the file names that I have saved in a table.
It works!
<?
print ("<table>\n")
while ($row = mysql_fetch_array($result)){
$IMAGE = $row["image"];
echo"
<tr>
<td>$IMAGE</td>
</tr>
";
}
print ("</table>\n")
?>
So why do I get Parse error using this script.
<?
print ("<table>\n")
while ($row = mysql_fetch_array($result)){
$IMAGE = $row["image"];
echo"
<tr>
<td><img src="$IMAGE.gif"></td>
</tr>
";
}
print ("</table>\n")
?>
A solution would make me very happy.