MySQL Forums
Forum List  »  PHP

Re: PHP Lost Connection..
Posted by: Georg Richter
Date: May 03, 2005 04:41AM

A stored procedure can return more than one resultset, e.g.

CREATE PROCEDURE foo()
BEGIN
SELECT 'foo' FROM DUAL;
SELECT 'bar' FROM DUAL;
END

When processing resultsets from stored procedures you have to process resultsets with mysqli_store_result/next_result (see sample of mysqli_multi_query in php documentation).

Georg Richter, Senior Software Developer
MySQL AB, www.mysql.com

Are you MySQL certified? www.mysql.com/certification

Options: ReplyQuote


Subject
Written By
Posted
April 24, 2005 03:39PM
Re: PHP Lost Connection..
May 03, 2005 04:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.