What is magic function in php?


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

Post New Answer

More PHP Interview Questions

What is difference between rest api and restful api?

0 Answers  


What is the use of "echo" in php?

0 Answers  


Tell me what is the actually used php version?

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  


How to copy a file?

0 Answers  


Explain the ternary conditional operator in php?

0 Answers  


What Is a Persistent Cookie?

0 Answers  


How to execute a php script from the command line?

0 Answers  


Is uploaded file php?

0 Answers  


Define urlencode() and urldecode() used in php?

0 Answers  


How to randomly retrieve a value from an array?

0 Answers  


suppose if u want to pass session value using cookies onlu.. what changes i've to made in php.ini file?

1 Answers  


Categories