I'm passing variables between pages with forms using GET method, and to make it simpler let's say for instance I have a variable called NUMBER, and I want to run code if a NUMBER is being passed.. Sounds simple, and I thought this would work...
Code: Select all
$mynum = $_GET['NUMBER'];
if ($mynum) {
...main code
}
this is my solution in the meantime.. i've set up a dummy variable NUMTRUE on the posted form and then I'm doing this...
Code: Select all
if ($_GET['NUMTRUE']) {
...main code
}