if i give Limit for mysql query through php command line
script like this for ex.
$limit=500;
$total_items = 1500;
for($start=0;$start<$total_items;){
$command = "/usr/bin/php -q
/home/sitename/public_html/admin/feedmanager/test.php feedid
".$_GET['feedid']." start ".$start." end ".$limit ;
$start = $start+$limit;
$command_result = system($command);
}
so it's execute command for 3 times so it give limit to sql
query but if i have 27000 data so it takes long time? so my
question is that is that any way from php command line
script that i can use for collect all the data at once?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between file_get_contents() and file_put_contents() in php?
please explain me mail function in php
Which programming language does php resemble to?
How does integrate SSL certificate in websites and also how to generate CSR in Local machines? plese give some ideas ASAP.....
Explain $_FILES Superglobal Array?
How to redirect https to http url through .htaccess?
How to convert one date format into another in php?
i want simple programs in php and outputs and how to use in web developed side in php briefly explined in exmple
Does apache use php?
What does it mean when it says the csrf token is invalid?
How to convert a json string to an array in php?
Dear Sir, i am a frasher and now i got a job offer from AentteQ Software Technologies for PHP developer.. so i am in confusion that is PHP correct for my carrer or i shud choose other then php for my carrer...plz suggest me