0

Question is about submit button in HTML?

<form action="#" method="post"/> <label for="comment"> Commet: </Label> <input type="text" name="comment"/> <input type="submit" value="submit"/> The above html code is for commenting and to submit. and my question is where those comments are stored and displayed?

19th Jan 2017, 8:48 AM
Chandan Kumar Y S
Chandan Kumar Y S - avatar
5 Respostas
+ 5
that # in your form action is there to catch what you input in comment. You can use php for catch and use. and It will store in a variable in language you will use to store. eg. PHP
19th Jan 2017, 9:14 AM
Sachin Artani
Sachin Artani - avatar
+ 5
There is no need to do so. Just close form with tag </form> See <form action="home.php" method="post"> In this line you see home.php This is a php file in which you will have to write code in PHP, there must be a variable in it, which will take value of input type=text.
19th Jan 2017, 4:33 PM
Sachin Artani
Sachin Artani - avatar
+ 4
Welcome 😊
19th Jan 2017, 4:36 PM
Sachin Artani
Sachin Artani - avatar
0
sachin Artani.... can you reedit that code???
19th Jan 2017, 9:16 AM
Chandan Kumar Y S
Chandan Kumar Y S - avatar
0
sachin artani thank broo...😋
19th Jan 2017, 4:36 PM
Chandan Kumar Y S
Chandan Kumar Y S - avatar