Re: I hate bugs...Mysqli issue

From: Date: Fri, 21 Dec 2007 16:35:22 +0000
Subject: Re: I hate bugs...Mysqli issue
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-266215@lists.php.net to get a copy of this message
Zoltán Németh wrote: > an error must have occurred with mysqli_prepare, so it returned a > boolean false, that's what all those warnings are complaining about... > > are you sure $link is a valid mysqli link identifier? And as a general rule, defensive programming approaches would state that you should check all the return values before blindly using them.... in fact that's not really defensive specifically, just GPP Col.

« previous php.general (#266215) next »