Could anyone make a suggestion as to what to change to make this test work. Everytime it runs it always is TRUE. Am I using the ISSET function correctly ? if not do you have any suggestions ?
I am trying to test for a URL variable that will be coming in to this page.
The code:
if(isset($GET["table_name"]) == "proj") {
$tab_name = "proj";
echo "TAB NAME : $tab_name";
}
if(isset($GET["table_name"]) == "itsupp") {
$tab_name = "itsupp";
echo "TAB NAME : $tab_name";
}
Thanks,
Yafeu