What is constructors and destructors?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between single quoted string and double quoted string?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
<?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. -->
What are classes in php?
What is difference between static and constant?
How to Pass JSON Data in a URL using CURL in PHP?
What is reference variable php?
how to get server date and time?
What is the importance of parser in php?
explain php variable length argument function.
How to reset/destroy a cookie in php?
How to check if a string contains a character or word in php?