Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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']); ?>
 
PREVIOUS NEXT
Tagged: #form #action #php
ADD COMMENT
Topic
Name
8+3 =