mohityadavx
Youngling
Well one of my friend is developing a website he knows decent HTML bit of css, javascript and php (he is learning them he is in his 1st year only). Now the thing is he made a php website created a form in it taking user input.
Suggest a way to accept data in a form and then we want after clicking submit that the page shows text with new values in it. Something like this:-
Output is like this and user can just print it.
Please tell how can we do so?
Well we finally solved it using echo.
However is there any way possible using javscript instead of php to do so.
Suggest a way to accept data in a form and then we want after clicking submit that the page shows text with new values in it. Something like this:-
Code:
Form 1
Name ; __________
Address ; _____________
Class ; ___________
Output is like this and user can just print it.
Code:
Your Info
My name is ___________. I hate pasta.
My address is ____________. Blah Blah.
I studied in class _________ in 2012.
Please tell how can we do so?
Well we finally solved it using echo.
However is there any way possible using javscript instead of php to do so.
Last edited: