RE: [PHP] PHP/MySql noob falls at first hurdle
| From: | Jim Moseby | Date: | Fri, 09 Dec 2005 15:28:31 +0000 |
| Subject: | RE: [PHP] PHP/MySql noob falls at first hurdle | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227205@lists.php.net to get a copy of this message | ||
>
> 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