What are the special characters you need to escape in double-quoted stings?


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

Post New Answer

More PHP Interview Questions

Is not null in php?

0 Answers  


What is instantiation?

0 Answers  


How to get no of arguments passed to a PHP Function?

0 Answers  


What are the difference between abstract class and interface?

4 Answers  


What is member variable?

0 Answers  






What are classes in php?

0 Answers  


Tell me are parent constructors called implicitly inside a class constructor?

0 Answers  


Explain whether it is possible to share a single instance of a memcache between multiple php projects?

0 Answers  


How can MYSQL functions be available with PHP?

0 Answers  


What is the difference between runtime exception and compile time exception?

0 Answers  


What is a php web application?

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  


Categories