No, no, Guelphdad: Read his message again.
He would like to know how to do as Felgall suggested in post #5.
I don't use PHP, so I'm not going to attempt an answer. (It would be trivial in ASP, where the method GETROWS() converts the entire set of records to an array, automatically. <grin/>)
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.