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
Is not null in php?
What is instantiation?
How to get no of arguments passed to a PHP Function?
What are the difference between abstract class and interface?
What is member variable?
What are classes in php?
Tell me are parent constructors called implicitly inside a class constructor?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
How can MYSQL functions be available with PHP?
What is the difference between runtime exception and compile time exception?
What is a php web application?
<?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. -->