action php method post code example
Example: form action php
// Page containing a form:
<form action="myaction.php" method="post">
<p>Yopur name : <input type="text" name="name" /></p>
</form>
// myaction.php
Hello <?php echo htmlspecialchars($_POST['name']); ?>