Re: Re: What is my Mistake?

From: Date: Tue, 24 Jun 2014 17:55:43 +0000
Subject: Re: Re: What is my Mistake?
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-48887@lists.php.net to get a copy of this message
Looking at your code again, I think that your query failed and your lack of error reporting isn't showing the error that occurred when you tried to access a property of the result which is not a resource but merely a value of 'false'. One should ALWAYS check the result of operations before assuming that they succeeded and proceeding onwards in code. Saves lots of lost time.

« previous php.db (#48887) next »