What is difference between include and include_once in php?


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

Post New Answer

More PHP Interview Questions

please explain me mail function in php

2 Answers  


Is jquery better than javascript?

0 Answers  


How do you define a constant in php?

0 Answers  


<?php include ("db.php"); $result = mysql_query("SELECT ques_id FROM questionbank order by ques_id limit 5 "); while($obj=mysql_fetch_array($result)) { $ad1[$obj['ques_id']]++;//Used an array and inserted the database query results into it. } $rand_keys=array_rand($ad1,1); //Did a random array function echo "First random id = ".$ad1[$rand_keys[0]]; echo "<br>Second random id = ".$ad1[$rand_keys[1]]; ?> <!--Its not working. Have any solution for this. -->

1 Answers  


What are php magic quotes?

0 Answers  






What is the use of print_r function in php?

0 Answers  


Does php need a closing tag?

0 Answers  


Can we override magic methods in php?

0 Answers  


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

0 Answers   Yash Technologies,


Tell us why did you choose this particular career path?

0 Answers  


how to run PHP in command line?

8 Answers   InfoShore, Ramp Green, Xtreeme,


In php how can you jump in to and out of "php mode"?

0 Answers  


Categories