How to test if a variable is an array?
No Answer is Posted For this Question
Be the First to Post Answer
How to get a total number of rows available in the table?
How failures in execution are handled with include() and require() functions?
Can age be a variable?
when ever the user logged in the database table the current registered date will be appeared
what the new feature add in php 7.2?
How does php server work?
<?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. -->
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?
Does php need html?
Declare a new variable in php equal to the number 3;
What is escape data in php?
What is php explain how php works?