What are session variables in php?
No Answer is Posted For this Question
Be the First to Post Answer
How to find the position of the first occurrence of a substring in a string?
How to display your correct URL of the current web page?
what is the diffrence between for and foreach?
11 Answers Hirolasoft, IBM, Photon,
What is the main difference between asp net and php?
How can you get, the total size of a certain directory?
Write a query to to delete duplicate rows?
What IS PHP?
What are examples of dependent variables?
What is artisan in php?
<?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. -->
How can we get ip address of a client in php?
How to Retrieve the Session ID of the Current Session?