Re: Re: how dod you get to do multiple mysql queries concurrently?
| From: | Floor Terra | Date: | Fri, 25 Jan 2008 17:33:22 +0000 |
| Subject: | Re: Re: how dod you get to do multiple mysql queries concurrently? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268108@lists.php.net to get a copy of this message | ||
>>>> I know how to do multiple queries - the key issue in my question
>>>> was how to do them concurrently (i.e. in parallel).
>>> So you want to make PHP multithreaded???
>>
>> No, just the mysql queries.
>
Try pcntl_fork() to create a child process for each query.
Each child can make it's own MySQL connection.
Floor Terra