Is php an array?


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

Post New Answer

More PHP Interview Questions

Can we override magic methods in php?

0 Answers  


What is isset in php form?

0 Answers  


Tell me what is use of in_array() function in php?

0 Answers  


Explain what is meant by pear in php?

0 Answers  


What are the design patterns in php?

0 Answers  


what is the scope of php in the future if any other language is developed then may be php is loss ???

1 Answers   ATI,


<?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  


Name some of the functions in php.

0 Answers  


What's diffrence between Get() and Post() Function

7 Answers  


What is the purpose of break and continue statement?

0 Answers  


How many escape sequences are recognized in double-quoted strings?

0 Answers  


How to get ip address of clients machine?

0 Answers  


Categories