0

Pls how can I add comment box to a website (pls I need codes)

Comment box

6th Dec 2020, 7:05 PM
issa victor
2 Answers
+ 3
Hello, please do the php course first. There you will learn the basics. It isn't just about the simple html box. It's about how to send the user data and so on. My tip: try to do the courses html, php and sql for databases. For now for the start, here is a simple Code. You can insert it in any html document and open it in your browser. <form action="/action_page.php">      <input type="text" id="fname" placeholder="first name" name="fname"><br><br>   <input type="text" id="lname" placeholder="last name" name="lname"><br><br> <input type="text" id="comment" placeholder="comment" name="comment"><br><br>   <input type="submit" value="send comment"> </form>
6th Dec 2020, 7:18 PM
Julian
Julian - avatar
+ 1
This is a example which shows live a comment‘s support for user input in javascript only: https://code.sololearn.com/WHl9x8w4dldn/?ref=app
6th Dec 2020, 10:42 PM
JaScript
JaScript - avatar