Weird warnings in prepared statement query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux