I have a page with a table on it and need to display an image in the table...
the image's name is stored in the database... I need to call that name from the database and load the image....
the directory that the images are stored in is uploads/images/
the image name is stored in the db table under 'photo'
Here's the table code that I am using...
echo '<tr>';
echo '<td>','</td>';
echo '<td colspan="3">','</td>'; #///// where the image should display /////#
echo '<td>','</td>';
echo '<td>','</td>';
echo '<td>','</td>';
echo '</tr>';
And I tried the following code, with no luck:
echo '<tr>';
echo '<td>','</td>';
echo '<td colspan="3">','<img src="uploads/photos/", .$row['photo'];', '</td>';
echo '<td>','</td>';
echo '<td>','</td>';
echo '<td>','</td>';
echo '</tr>';
Any ideas?
Thanks
Rob