Weird warnings in prepared statement query

Weird warnings in prepared statement query

am 06.03.2006 00:57:37 von Ludvig Ericson

When I run this code: http://nopaste.php-q.net/196260
I get two warnings, first on line 5 and then line 7.

Line 5: Warning: mysqli_stmt::bind_param(): Number of variables
doesn't match number of parameters in prepared statement
Line 7: Warning: mysqli_stmt::bind_result(): Number of bind variables
doesn't match number of fields in prepared statement

I'm thinking this is really weird since the amount of parameters are
just as many.

Any ideas? I've been sitting with this problem all day :\
I'm thinking a simple query() call is easier.

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