[nycphp-talk] Get the value of a variable regardless of GET or POST
Nasir Zubair
lists at ny-tech.net
Fri Sep 12 00:29:00 EDT 2003
Right now I'm using the following code to get the value of $action, since
I'm either mixing GET/POST within my project OR am not sure about how the
template will be setup ( yet ).
$action = (empty($_POST['action'])) ? $_GET['action'] : "";
Is there another way of acomplishing the same thing?
More information about the talk
mailing list
Automatic Email Organization without missing anything!