How to test if a variable is an array?


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

Post New Answer

More PHP Interview Questions

How to get a total number of rows available in the table?

0 Answers  


How failures in execution are handled with include() and require() functions?

0 Answers  


Can age be a variable?

0 Answers  


when ever the user logged in the database table the current registered date will be appeared

3 Answers  


what the new feature add in php 7.2?

0 Answers  






How does php server work?

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  


I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?

0 Answers  


Does php need html?

0 Answers  


Declare a new variable in php equal to the number 3;

0 Answers  


What is escape data in php?

0 Answers  


What is php explain how php works?

0 Answers  


Categories