mindfield Posted December 12, 2007 Share Posted December 12, 2007 Im trying to link an uploaded image into my code but for some reason it doesnt seem to work. When I try <img src='.$image.'> its working fine, but i want to put it into a folder and lick it from there like.. <img src=\"/news_images/".$image."> but for some reason the image/nothing is showing up at all. anyone help? Quote Link to comment Share on other sites More sharing options...
Stooney Posted December 12, 2007 Share Posted December 12, 2007 echo '<img src="/news_images/'.$image.'">'; see how that works for ya Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted December 12, 2007 Share Posted December 12, 2007 you forgot to put a " at the end, try this.... <img src=\"/news_images/".$image."\"> Quote Link to comment Share on other sites More sharing options...
mindfield Posted December 12, 2007 Author Share Posted December 12, 2007 Thanks a lot guys, it works now. 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.