[PHP] Re: I hate bugs...Mysqli issue

2007-12-21 Thread Colin Guthrie
Jason Pruim wrote: > Thanks for looking, here's the result of the vardump, I did $link first > and then $stmt > > object(mysqli)#1 (0) { } bool(false) > > Not quite what it should be is it? Well the first bit looks fine but clearly the mysqli_prepare() is not working properly. Try calling mysql

[PHP] Re: I hate bugs...Mysqli issue

2007-12-21 Thread Colin Guthrie
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