Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More PHP Interview Questions

How to split a string into array using php?

0 Answers  


What is the ioncube php loader?

0 Answers  


How would you open a directory for reading in php?

0 Answers  


What is string function sql?

0 Answers  


What is abstraction php?

0 Answers  


Which programming language does php resemble to?

0 Answers  


Tell me how to find the position of the first occurrence of a substring in a string?

0 Answers  


How come the code works, but does not for two-dimensional array of mine?

0 Answers  


What function do we use to find length of string, and length of array?

0 Answers  


How do you identify independent and dependent variables in regression analysis?

0 Answers  


What are the advantages and disadvantages of cascade style sheets?

0 Answers  


How can we define a variable accessible in functions of a php script?

0 Answers  


Categories