Re: returning multiple resultsets from mysql

From: Date: Tue, 30 Aug 2005 06:48:13 +0000
Subject: Re: returning multiple resultsets from mysql
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20649@lists.php.net to get a copy of this message
Adam Duston wrote:
i would expect the second query (returning two resultsets) to be valid, but apparently it is not. Is there anyway to get the results of multiple selects without multiple roundtrips to the database using Pear DB with MySql?
no .. as its not supported by the underlying extension. the mysqli driver could in theory be extended to allow this: http://php.net/manual/en/function.mysqli-multi-query.php you can open a feature request on this ... i would not be very hopeful to get it supported any time soon or ever though. regards, Lukas

« previous php.pear.general (#20649) next »