What is difference between base_url and site_url?
No Answer is Posted For this Question
Be the First to Post Answer
i am a php programmer can i be a java programmer?
What does pear stand for?
what is the current salary package in India for a PHP & MySQL programmer who has 3 years experience
127 Answers ABC, BLG Logistics, Google, HCL, IBM, Infosys, People Group, PHP, Torque Infotech, V Angelz Technologies, Yahoo,
full form of php??
What are the benefits of using php?
How to download files from an external server with code in php?
In php how can you jump in to and out of "php mode"?
Explain preg_Match and preg_replace?
What is difference between require_once(), require(), include()?
What is nginx and what is it used for?
What is instantiation?
<?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. -->