Re: Appending query result sets?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux