Jump to content

PHP and displaying images


mrkfox

Recommended Posts

I've managed to get the data from the database and have assigned it to some variables. This is what I'm trying to use to display all of it:

 

echo "<b>$name</b><br>$description<br>genre<br>£$price<br>$stock<br><img src='$image' /><br>";

 

everything gets displayed successfully except for the image. Any help?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.