Re: Appending query result sets?
| From: | Per Jessen | Date: | Sun, 08 Feb 2009 21:21:43 +0000 |
| Subject: | Re: Appending query result sets? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287939@lists.php.net to get a copy of this message | ||
Skip Evans wrote:
> Oh, yeah, that's fine. I knew I could od it with arrays, but
> also looked to see if there was any way to just do an append,
> and I also need to sort them as well, so maybe I better get
> back to figuring out a join.
Just add asort() to what Ashley suggested.
The thing to keep in mind - what mysql_query() returns is NOT a
result-set, but a handle or an oblique reference to one. The only way
to access it is with mysql_fetch_*().
/Per
--
Per Jessen, Zürich (-0.32°C)