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

2007-12-31 Thread Richard Lynch
On Fri, December 21, 2007 10:50 am, Jason Pruim wrote: > > > > $link = mysqli_connect($server, $username, $password, $database) ; > > /* check connection */ > if (mysqli_connect_errno()) { > printf("Connect failed: %s\n", mysqli_connect_error()); > exit(); > } > > > > ?> > It looks valid

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

2007-12-21 Thread Zoltán Németh
2007. 12. 21, péntek keltezéssel 12.04-kor Jason Pruim ezt írta: > Hey Zoltan, > > 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? surely not ;) if this is the result for

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

2007-12-21 Thread Jason Pruim
On Dec 21, 2007, at 12:01 PM, Zoltán Németh wrote: 2007. 12. 21, péntek keltezéssel 11.50-kor Jason Pruim ezt írta: On Dec 21, 2007, at 11:22 AM, Zoltán Németh wrote: 2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: Hi everyone. I have a script that I've been using succesfu

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

2007-12-21 Thread Zoltán Németh
2007. 12. 21, péntek keltezéssel 11.50-kor Jason Pruim ezt írta: > On Dec 21, 2007, at 11:22 AM, Zoltán Németh wrote: > > > 2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: > >> Hi everyone. > >> > >> I have a script that I've been using succesfully for quite awhile, > >> and > >

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

2007-12-21 Thread Jason Pruim
On Dec 21, 2007, at 11:22 AM, Zoltán Németh wrote: 2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: Hi everyone. I have a script that I've been using succesfully for quite awhile, and just today found a bug... I attempted to insert a new record into the database and got th

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

2007-12-21 Thread Zoltán Németh
2007. 12. 21, péntek keltezéssel 11.14-kor Jason Pruim ezt írta: > Hi everyone. > > I have a script that I've been using succesfully for quite awhile, and > just today found a bug... > > I attempted to insert a new record into the database and got this > error in my error log: > > [Fri Dec 2

[PHP] I hate bugs...Mysqli issue

2007-12-21 Thread Jason Pruim
Hi everyone. I have a script that I've been using succesfully for quite awhile, and just today found a bug... I attempted to insert a new record into the database and got this error in my error log: [Fri Dec 21 11:08:43 2007] [error] PHP Warning: mysqli_stmt_bind_param() expects parame