On Mon, Sep 3, 2012 at 7:45 AM, Jim Giner <jim.gi...@albanyhandball.com> wrote:
> On 9/3/2012 2:44 AM, tamouse mailing lists wrote:
>> On Sun, Sep 2, 2012 at 10:24 PM, Ethan Rosenberg, PhD
>> <erosenb...@hygeiabiomedical.com> wrote:
>>> mysqli_stmt_bind_result(): Number of bind variables doesn't match number
>>> of
>>> fields in prepared statement
>> What exactly is unclear about that?
> Actually - from looking at the code the OP posted, I don't see the mis-match
> either, assuming that the post contains the actual code.

That would be a question, considering the OP code was incorrect as it stood.

> I do have a
> question tho.  Not being familiar with mysqli yet (soon, I know), I'm
> wondering what his die clause is actually saying when it mentions:
> ... mysqli_stmt($stmt)
> Does the reference to 'mysqli_stmt' mean something special, since it doesn't
> reference any particular function?

It seems like it should just give a Fatal error for a call to an
undefined function, as mysqli_stmt itself is a class, with no
constructor method of it's own, as it's created via the
mysql_prepare(). I get a little confused when mixing OO and procedural
versions, though, so it might do something...

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to