Re: I hate bugs...Mysqli issue

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

 



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.

-- 
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