A
Anonymous
Guest
I have 2 forms feeding 2 different functions in the same script. how can i discern one from another when using the if($_SERVER['REQUEST_METHOD'] != 'POST') { to tell my php that a form is being used?
I beleive if I use something in the order of if ($_POST["somevar"] == "") { I get something in like varible not defined or something as one of the forms does not send this var the other one does.
Does this make any sence? I've confused myself on this one
I beleive if I use something in the order of if ($_POST["somevar"] == "") { I get something in like varible not defined or something as one of the forms does not send this var the other one does.
Does this make any sence? I've confused myself on this one