Answers for "form action php"

PHP
1

form action 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

Browse Popular Code Answers by Language