The code that is generated appears to be correct, and the photo is uploading to the server properly, but instead of the image I see a missing image icon. If I try to save the photo from the web page, I get an error message that it isn't there, even though the path to the image is correct and the file is on the server.
PHP CODE TO SHOW IMAGE:
Code: Select all
echo("<td width=\"80\" valign=\"top\" align=\"left\">");
if (empty($row["StaffPhoto"])){
echo ("");
} else {
echo ("<img src=\"photos/{$row['StaffPhoto']}\" width=\"75\" height=\"110\">");
}
echo("</td>");GENERATED CODE:
Code: Select all
<td width="e;80"e; valign="e;top"e; align="e;left"e;><img src="e;photos/mgr-johnsonbob.jpg"e; width="e;75"e; height="e;110"e;></td>