colleyboy Posted September 18, 2010 Share Posted September 18, 2010 OK, When the user fills the info in the form out it goes in the DB fine. I can then array them on the "showroom page" fine. When they upload a picture it goes into the /images/ folder fine. Problem is... On each array on the showroom page I need the image they uploaded to be displayed. Cant work it out. Help would be GREAT!!!!! Link to comment https://forums.phpfreaks.com/topic/213755-assigning-an-uploaded-image-to-recall-in-a-php-array-really-need-help/ Share on other sites More sharing options...
Pikachu2000 Posted September 18, 2010 Share Posted September 18, 2010 Are you storing the image filename in the DB as well? If I understand your question, you can just add that in an <img= tag while you echo out the rest of the information. Link to comment https://forums.phpfreaks.com/topic/213755-assigning-an-uploaded-image-to-recall-in-a-php-array-really-need-help/#findComment-1112585 Share on other sites More sharing options...
Mod-Jay Posted September 19, 2010 Share Posted September 19, 2010 Try in your <imgsrc=" " > Put "Images/$uploaded" or what ever you have in your database. it should be the file location to show. Link to comment https://forums.phpfreaks.com/topic/213755-assigning-an-uploaded-image-to-recall-in-a-php-array-really-need-help/#findComment-1112627 Share on other sites More sharing options...
PaulRyan Posted September 19, 2010 Share Posted September 19, 2010 To get help with your problem, you should post the code you are using so we can take a look and give you the best solution possible. Regards, Paul. Link to comment https://forums.phpfreaks.com/topic/213755-assigning-an-uploaded-image-to-recall-in-a-php-array-really-need-help/#findComment-1112632 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.