What is a http session?
No Answer is Posted For this Question
Be the First to Post Answer
can we use PGP with PHP?
How data or variable can be receive or send from PHP to HTML page??
What type of headers have to add in the mail function in which file a attached?
Explain mysql_errno()?
What is xss in php?
Explain about the data types in PHP?
What are the different tables(engine) present in mysql, which one is default?
What is the difference between fopen() and fclose()?
What is the delimiter syntax is PHP's default delimiter syntax
What does the expression exception::__tostring means?
<?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 difference between include and include_once in php?