Hello,
Shouldn't you "execute" the query first, and then "bind_result" ??
In the php doc
(http://jp2.php.net/manual/fr/mysqli-stmt.bind-result.php) the example
is done this way...
Hope this helps,
Olivier
Le 25/08/2011 13:04, Stuart Milne a écrit :
Hi there
Getting a weird issue with MyS
On 25 August 2011 14:07, Jim Giner 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.
First glance: your 'if' needs '= =' not '='
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php