Entry
Undefined variable error? Code runs on fine one site and not on the other!
Dec 23rd, 2004 12:36
Matthew Wilkinson, Jim Lawrence,
This is probably caused by the error reporting level. The PHP engine
will only spit out a warning about variables that have not been set yet
if the error reporting is set to it's highest using the function:
error_reporting(E_ALL);
If you can find this anywhere in your code, I suggest you comment it out
if you don't want those variable warnings, else you go through your code
and set those variables before you use them.