Answers for "how to get data from html form in php"

PHP
1

how to get data from html form in php

// Page containing a form:
<form action="myaction.php" method="post">
 <p>Your name : <input type="text" name="name" /></p>
 <input type="submit" value="Submit">
</form>

// myaction.php
Hello <?php echo htmlspecialchars($_POST['name']); ?>
Posted by: Guest on April-30-2021

Code answers related to "how to get data from html form in php"

Browse Popular Code Answers by Language