How to enable error reporting in php?
How does session work in php?
for image work which library?
<?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. -->
Tell me how a constant is defined in a php script?
What does == mean in php?
List some features of php that are deprecated in php7?
What is the use of extract function in php?
How many php functions are there?
How does php work with apache?
Explain how we can retrieve the data in the result set of mysql using php?
Php error constants and their descriptions
How to remove leading and trailing spaces from user input values?