Re: PHP want not write in Database
| From: | Silvio Siefke | Date: | Mon, 16 May 2011 10:40:52 +0000 |
| Subject: | Re: PHP want not write in Database | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312805@lists.php.net to get a copy of this message | ||
Hello,
On Mon, 16 May 2011 11:06:17 +0100 Stuart Dallas wrote:
> In order to avoid this problem in future I encourage you to check the return
> value of every function call you make that might fail, i.e. every single
> one! Had you done that here, and then pulled out the last error message from
> PDO you would not have had this problem for longer than a minute.
im sorry, but what u mean? Can u give example. I really starting with PHP
and when have error messages in log there is no problem for me, i can fix the
mistakes in script, but when php write no messages to log i not know where
should search.
I has try with xdebug, but this want not work or i understand it wrong. And
which ways for debug give in PHP?
Regards
Silvio