What are the delimiters 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. -->
What is the difference between php and java?
What version of php do I have windows?
What are php string functions?
What is the default session time in PHP and how can I change it?
How many types of functions are there in php?
How does php session work?
Why do we create an instance of a class in php?
What is the use of $_server and $_env?
Is it difficult to learn php?
How a variable is declared in php?
What is slim framework?