What is php how it works?
No Answer is Posted For this Question
Be the First to Post Answer
<?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. -->
What is the purpose of the '.frm' file extension? What do thes file contain?
in PHP for pdf which library used?
How will you create a bi-lingual site (multiple languages) ?
What is whitespace in html?
Is null empty php?
What is the difference between a session and cookies?
Is it necessary to use closing tag in php?sometime without closing tag things work.why?
What is the use of addslashes in php?
Are php session secure?
How can I loop through the members of an array?
1 Answers Rushmore Consultancy,
How check variable is set or not in php?