Re: [PHP-WIN] Problem with submit

2001-05-10 Thread Tom Mathews
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

RE: [PHP-WIN] Problem with submit

2001-05-09 Thread Schulz, Evan
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