image files not displaying

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rick shade

    image files not displaying

    I'm not able to get code to display my image files:

    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>				
    					";
    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.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    what does the code look like after it was sent to the browser?

    Comment

    Working...