I seem to be having an issue with $POST variable. I have multiple forms on my site with different sections but use the same variable name such as ... firstName or lastName. When I pass the forms to a php script I use the $POST variable to access the variable. Works fine until I access another form and when I use a script like this...
if($_POST['firstName == "") {....
than it isn't empty so it doesn't read this correctly.
is there a quick way to reset all post variables or will I have to manually clear them before I access the next form like this....
$POST['firstName'] == "";
$POST['lastName'] == "";
$_POST['address'] == "";
I hope this makes sense
any help would be appreciated, thanks