Re: Re: how dod you get to do multiple mysql queries concurrently?

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

 



>>>> 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

-- 
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