Image not showing although other variables are

I have a page that gets 4 bits of info from a small database. I know it works because all of the other variables are echoed properly. The one that doesnt get echoed is the variable for the picture. I get the ‘broken image’ logo where it should be. I have checked the field names, variable names, and path to the image. All are correct, the image is where it is supposed to be,


so I am guessing I am not coding the image tag right. Here we are:

<span style="font-size: 18pt ; letter-spacing: 0.05em"><?php echo $theauth. ": ".$thetitle; ?></span><br/><br/>	
<img src="<?php echo $thepic;?>" /><br/><br/>
<?php echo $thedesc; ?>

Author and title above the (missing) picture, (nonsense) description below it, where they should be - but no picture!

Is that part of the $thepic value or a separate value that needs to be output in addition to $thepic value?

Sponsor our Newsletter | Privacy Policy | Terms of Service