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?
5 odpowiedzi
+ 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
+ 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.
+ 4
Welcome 😊
0
sachin Artani.... can you reedit that code???
0
sachin artani thank broo...😋