What is "print" in php?
Answer / Abhishek Upahyay
The print() function in PHP outputs one or more strings and optionally a carriage return, new line character, or both. It was deprecated in favor of the echo statement.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of get and post method in php?
What is the method to execute a php script from the command line?
What is an abstract class in php?
What is die in php?
How to Define a Constant in PHP? Is $ symbol necessary?
What is framework? How it works? What is advantage?
What is polymorphism in oop php?
How to count a number of words in a string in php?
Can anyone explain about join?
How can we know the number of days between two given dates using PHP?
8 Answers AZTEC, HCL, Navsoft,
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?
How many escape sequences are recognized in single-quoted strings?