[PHP-DB] Re: MYSQLi fetch corrupting bound variables

2011-08-25 Thread Jim Giner
First glance: your 'if' needs '= =' not '=' -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Re: MYSQLi fetch corrupting bound variables

2011-08-25 Thread Richard Quadling
On 25 August 2011 14:07, Jim Giner jim.gi...@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