Merge result set of query?

From: Date: Wed, 09 Mar 2005 21:10:52 +0000
Subject: Merge result set of query?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-38839@lists.php.net to get a copy of this message
My first attempt was to use $result=array_merge($result1,$result2) - doesn't work. 'not a valid resource' I have two databases with different connections, so MySQL UNION query would not work. How do I merge the result set of the queries in that case? John

« previous php.db (#38839) next »