what is the abbrevation of PHP?
Answers were Sorted based on User's Feedback
Answer / sreenia
php has recursive definitions
PHP = Php Hypertext Preprocessor
| Is This Answer Correct ? | 5 Yes | 6 No |
Does https prevent csrf?
What is a class in php programing?
What is html used for?
Give the case where we can use get and we can use post methods?
How can we know that a session is started or not?
What is difference between action hook and filter hook?
What is instantiation?
What is the advantge and disadvantage of mysql_connet() and mysql_pconnect() ? in which condition will you use mysql_connect() and mysql_pconnect().
What are advantages of .htaccess?
What are php libraries?
<?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 to get a total number of elements used in the array?