Undefined Index?
Posted: Fri May 16, 2003 12:47 pm
Hey folks.
Just quick questions. When I set error reporting to E_ALL, I get the "Undefined Index" error when I use the following:
The url does indeed have the 'action' variable defined as I asked it to. What does that mean, and how can I fix it?
Just quick questions. When I set error reporting to E_ALL, I get the "Undefined Index" error when I use the following:
Code: Select all
$action = $_GET['action'];
if ($action == 'dothis') {
// Do this stuff
}The url does indeed have the 'action' variable defined as I asked it to. What does that mean, and how can I fix it?