Re: Re: MYSQLi fetch corrupting bound variables

From: Date: Thu, 25 Aug 2011 14:34:51 +0000
Subject: Re: Re: MYSQLi fetch corrupting bound variables
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-47989@lists.php.net to get a copy of this message
On 25 August 2011 14:07, Jim Giner <jim.giner@albanyhandball.com> wrote: > First glance:  your 'if' needs '= ='  not '=' No. Fully ... if (False !== ($stmt = $dbObj->prepare(...))) { ... } In PHP, assignments evaluate to the value assigned. If the value assigned can be evaluated as TRUE then the above test will pass. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

« previous php.db (#47989) next »