I recently purchased the book PHP TO MYSQL 5th edition. When I got to the 9th chapter they use

HTML Code:
if (!isset($_POST['email']) or $_POST['email'] == '' or
          !isset($_POST['password']) or $_POST['password'] == '')
         {
         $GLOBALS['loginError'] = 'Please fill in both fields';
          return FALSE;
        }
in a function. The only way I can get it too work is if I put an echo in front the $GLOBALS. Is there something missing?