RE: PHP/MySql noob falls at first hurdle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> For future reference, during testing, you can set your error reporting
> levels ( i think) in php.ini to output a notice regarding a variable
> that does not exist - would have helped you spot the error! I normally
> use the Zend debugger which does quite a good job of telling me that I
> am an idiot :)

Setting error reporting to its highest lever is always a good thing during
development.
He can set it in his script as well:

//from foggy memory
error_reporting(E_ALL);

JM

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux