menios Posted December 1, 2007 Share Posted December 1, 2007 After alot of effort i ve managed to sort out my db and the queries. The only thing i can't come around is the images.. I want each result to have an image next to it but when it diplays i just get the file path.. How can i upload/link an image with my database and display it when requested? Link to comment https://forums.phpfreaks.com/topic/79736-solved-how-to/ Share on other sites More sharing options...
Wes1890 Posted December 1, 2007 Share Posted December 1, 2007 All you need is the URL just do something like this: echo "<img src={$image_path} />"; Link to comment https://forums.phpfreaks.com/topic/79736-solved-how-to/#findComment-403780 Share on other sites More sharing options...
menios Posted December 1, 2007 Author Share Posted December 1, 2007 i want an image to be linked with a product through the database and echo is only gonna diplay it. where is the link? Link to comment https://forums.phpfreaks.com/topic/79736-solved-how-to/#findComment-403783 Share on other sites More sharing options...
menios Posted December 1, 2007 Author Share Posted December 1, 2007 I figured out what you mean Thanks a lot Link to comment https://forums.phpfreaks.com/topic/79736-solved-how-to/#findComment-403787 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.