Re: php mysql array question
| From: | CPT John W. Holmes | Date: | Fri, 11 Jul 2003 15:11:47 +0000 |
| Subject: | Re: php mysql array question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154900@lists.php.net to get a copy of this message | ||
> Is there any php function to pull a query into an array? I know there is
a
> way to get the first row of the results in an array, but I'm having to
loop
> through each row pushing the row onto an array to get the result I'm
looking
> for and it seems like a lot of code for something that I would think is
used
> a lot.
There's no PHP function to do so. Some abastraction layers provide this, but
it's just doing a loop like you're doing.
Show your code and we can offer tips on how to improve performance.
---John Holmes...