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
Explain about the $_GET variable of PHP?
What is the value for this auto incremented field user_pri_id?
How can I reset an array in PHP?
4 Answers Rushmore Consultancy, TCS,
What is the correct syntax of mail() function in php?
What is mvc php?
what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons
Why framework is used in php?
Tell me what is the meaning of a final class and a final method?
what is the difference between ph4 and php5
what do you mean by php.ini file ?????????
What is a closure in php?
What advance thing in php7?