i want to pass a string from an input box that after submition automatically goes to different page and the string gets copied in the input box in that page .the Language I am using is php.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your second page, you need to read the incoming value from the input box and include it in the output (which includes the second input box). Do not forget to pass the value of the variable through
htmlspecialchars, since you are outputting it as part of your HTML.So the code for the second page would look something like this: