How to store the uploaded file to the final location?
No Answer is Posted For this Question
Be the First to Post Answer
What is csrf verification?
How to check a key exist in an array?
How can we create a database using PHP and mysql?
4 Answers Rushmore Consultancy,
what are interfaces and Abstart classes
i am a php programmer can i be a java programmer?
HOW we can use css
What is the difference between include and include_once ? Which is one is good in terms of performance ?
full form of php??
What is the difference between php traits vs interfaces?
How to apply Cake php ajax pagination?
how to register website in internet
<?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. -->