Jump to content

img src=pImage/$info[image_name]


johnrlhunter

Recommended Posts

Hi

 

I am having a problem with writing the syntax to show an image listed on my database.

 

if I write print $info[image_name] the page will tell the correct image name taken from the database. but I don't know the syntax to make it to display the image which is listed in the mysql server but stored in the pImage folder.

 

Can someone please help and point me in the right direction?

 

I think it must be something like print g src=pImage/$info[image_name]>" ?

 

 

John

Link to comment
https://forums.phpfreaks.com/topic/39363-img-srcpimageinfoimage_name/
Share on other sites

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.