The code below will allow you to access all submitted fields with $email and $name (for example) instead of needing to use $_POST[“email”] and $_POST[“name”] etc.
The Code
1 2 3 4 5 6 |
<?php //use $email and $name (for example) instead of $_POST["email"] and $_POST["name"] extract($_POST); ?> |