PHP : Function Reference : MySQL Improved Extension : mysqli_next_result
daghan dinc
There is a reported bug in mysql: http://bugs.mysql.com/bug.php?id=27544
which prevents you from calling another select query or stored procedure after calling one stored procedure. The bug is reported as an odbc bug but it seems to be the same for php-mysql in windows platform. The given error message is:
"Commands out of sync; you can't run this command now"
In order to prevent this, you must call this function after every stored procedure call.
|
|