How to get the IP address of the client/user in PHP?
No Answer is Posted For this Question
Be the First to Post Answer
What are the file upload settings in configuration file?
How does php strcmp work?
Why is facebook still using 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. -->
Explain what is the function file_get_contents() usefull for?
Why laravel is best php framework?
Is multilevel inheritance possible in php?
What are the differences between PHP3 and PHP4 versions?
What is the importance of parser in php?
What is the current stable version of php? What advance thing in php7?
List out the predefined classes in PHP?
Is php free to use?