How to submit form without a submit button.
No Answer is Posted For this Question
Be the First to Post Answer
How to enable error reporting in php?
Why namespace is used in php?
How to copy a file?
What is difference between action hook and filter hook?
•How can we submit a form without a submit button
What are the encryption functions in php?
What are php strings?
How to display your correct URL of the current web page?
Which is incorrect with respect to separating php code and html?
What are different types of errors available in Php?
What is the empty function?
<?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. -->