Sheldon Livingston
asked on
Cannot grab querystring...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You're welcome sir, glad I could help.
Suggestion
Don't use $_GET / $_POST directly in your code - there is no guarantee they will exist.
In your case rather do something like this
Don't use $_GET / $_POST directly in your code - there is no guarantee they will exist.
In your case rather do something like this
$sw = isset($_GET['SW']) ? $_GET['SW'] : 0; // or some other default value
// Now you can use $sw safely as it is guaranteed to have a value;
ASKER