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? Quote Link to comment 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} />"; Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.