I'm not able to get code to display my image files:
Now, hand to God, I've tried for HOURS and can't seem to figure out why the images will not display. I have IDENTICAL code pulling images just a few lines down in my program and it works so I know the directory and image file names are correct. I'm missing something, help please.
Code:
//not working, no image, just blank space
echo "
<td><a href='../images/{$row['pix']}' border='0' class='myImage'>
<img src='../images/{$row['pix']}' border='0' width='100' height='80' /></a>
</td>
";
//works, displays the name of the image file
echo "
<td>{$row['pix']}</td>
";
Comment