I was just wondering if anyone had a better method at parsing HTML forms using PHP than this:
When the form only has a few fields its not a big deal, but when the form has a lot of fields then it just gets redundant to have to keep writing these lines, especially when the variable name is the same as the post field name.PHP Code:
$name = $_POST['name'];
$company = $_POST['company'];
$city = $_POST['city'];
Is there a better method than this?