Re: PHP Lost Connection..
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
Subject
Written By
Posted
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.