Why delimiter is used in mysql?
No Answer is Posted For this Question
Be the First to Post Answer
What are the basic steps to store PHP session in to Database?
What is abstraction php?
How to get no of arguments passed to a PHP Function?
Can I run php without xampp?
What is the use of Php variables?
What is difference between $x and $$x
5 Answers Mindex, Net Solution, Procon IT Solutions, Trigent,
<?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 php session and how it works?
Which php framework is best?
Suppose your Zend engine supports the mode <? ?> Then how can u configure your PHP Zend engine to support <?PHP ?> mode ?
How do you execute a php script from the command line?
How to apply Cake php ajax pagination?