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
How to find the position of the first occurrence of a substring in a string?
armstrong number by using php while number is given by the keyboard.?
hi to all i am fresher in php and want to learn php and want a fresher job in php. how to total time i expend to learn php and what is freshers salary.
Does php support multithreading?
How many Types of COmments are there in PHP and what are they?
Write a program to find a string is palindrome or not?
Can you convert php to html?
What is the different between cookies and session in php?
What is difference between single quotes and double quotes in php?
how to get the value in script values
What is the use of 'print' in php?
What is the difference between $message and $$message in php?