![tooth-extraction](https://www.clevelandwebdeveloper.com/wpsite/wp-content/uploads/2022/12/tooth-extraction-e1671221493271.png)
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); ?> |