Nothing really wrong with the code, just different error reporting set.
But, as a couple of cents worth from someone that's learnt the hard way, it is
usually preferable to do something like
if (!isset($submit)){...} and handle the negative condition first. (Of course
this won't be the case if you
Jerry,
This is a very, very common problem. The other person has "error_reporting"
in his php.ini set to E_ALL. Have him set his error_reporting to something
a little more restrictive - like "error_reporting= E_ALL & ~(E_NOTICE |
E_USER_NOTICE)".
There really isn't anything wrong with the code