9009032 Posted January 24, 2007 Share Posted January 24, 2007 I am in the middle of making a complex form but i am having trouble with image url posting. This is my html form code:<TEXTAREA NAME="Picture1" ROWS=1 COLS=15></TEXTAREA>Here is my php code<img src="<?php echo $_POST["picture1"]; ?>" alt="" />So i am trying to have the user input the url of an image and then it will put that url into <img src so it will show up. I am not sure why this isnt working help please! Link to comment Share on other sites More sharing options...
vijay Posted January 24, 2007 Share Posted January 24, 2007 Hi.. It'll definitely work if form submits and given url exist with image.. ammend this line: <img src="<?php echo $_POST["Picture1"]; ?>" alt="" />Regards,Vijay Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now