What is a controller php?
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between static and dynamic websites?
What are the differences between GET and POST methods?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
What is polymorphism in oop php?
client side scripting language Vs server side scripting language
Explain the difference between urlencode and urldecode?
<?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 i get USA time using php...
How to get ip address of a server in php?
How can we connect to a mysql database from a php script?
What are escaping characters? Explain with an example?
What are magic constants in php?