Jiraiya Posted January 12, 2009 Share Posted January 12, 2009 i was wondering if i could create a file upload script with php that stores the url for a picture and stores the url under a "picture" variable in my database. so my question is there a way i can echo the url that is stored in the database but have it show the picture instead of the url Quote Link to comment Share on other sites More sharing options...
bluesoul Posted January 12, 2009 Share Posted January 12, 2009 Easiest way without messing with headers or anything would be to do... <img src="$foo" /> Where $foo is the URL you stored. 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.