Is json a string php?
No Answer is Posted For this Question
Be the First to Post Answer
What is difference between explode() or split() in PHP?
what is hidden variable? what is its difference with the normal variable...
what is difference between PHP4 , PHP5
<?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 the steps involved to run php?
What is the use of header in php?
What are the difference between array_keys() and array_key_exists() in php?
How big is varchar max?
How is it possible to know the number of rows returned in the result set?
What is difference between count or sizeof function in php?
Write a program to get lcm of two numbers using php?
Is polymorphism inherited?