Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

mysqli_next_result

(PHP 5)

mysqli_next_result

(no version information, might be only in CVS)

mysqli->next_result -- Prepare next result from multi_query

Description

bool mysqli_next_result ( mysqli link )

mysqli_next_result() prepares next result set from a previous call to mysqli_multi_query() which can be retrieved by mysqli_store_result() or mysqli_use_result().

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Примеры

See mysqli_multi_query().



add a note add a note User Contributed Notes
mysqli_next_result
daghan dinc
20-Jul-2007 02:20
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.

mysqli_num_fields> <mysqli_multi_query
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571