How many types of array are there in php?
No Answer is Posted For this Question
Be the First to Post Answer
<?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. -->
How can we determine whether a variable is set?
What do you mean by design patterns (php) ?
What is implode() in php?
What is include in php?
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
How to remove an empty directory?
How to upload and play video in Php when u r in localhost?
Why json is used in php?
Write a program using while loop?
What is the latest version of php?
Which operator is used to combine string values in php?