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
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
how to convert PHP code in to java code
What is exception handling in php?
How to check curl is enabled or not in PHP
Tell me what should we do to be able to export data into an excel file?
Explain about PHP cookies?
How to turn on the session support in php?
How do I check if a given variable is empty?
What is difference between str_replace and substr_replace
how to register website in internet
Swap two variables value without using third variable in php ?
Does php has a future?