How to open a file for reading?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

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

0 Answers  


Who is the father or inventor of php?

0 Answers  


How to get path of php.ini with a php script?

1 Answers  


What is the interface in php?

0 Answers  


How to get elements in reverse order of an array in php?

0 Answers  






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?

0 Answers  


How to convert the first character to upper case?

0 Answers  


What is difference between echo and print_r in php?

0 Answers  


What are the different functions in sorting an array?

1 Answers  


what is PDO?

0 Answers  


What is difference between mysql_fetch_array and mysql_fetch_assoc?

0 Answers  


Explain mysql_errno()?

0 Answers  


Categories