I want to do something like this in my code
if ($_POST['GET_TABLE'])
{
// Do something.
}elseif ($_POST['UPDATE'])
{
// Do something else.
}elseif (!$_POST)
{
// Do nothing, cause this is likely to be the first load up the page.
// Nothing has been posted.
}
It doesn't seem to work. Should it? If not, what are my alternatives?
TYIA
Pile