How can we determine whether a variable is set?
No Answer is Posted For this Question
Be the First to Post Answer
how many ways we get current date in php
what method is used to generate a random number?
How to create reusable code in php?
What is return in php function?
Why would we use === instead of ==?
<?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 session_set_save_handler in PHP?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
Which are the best start and end tags to use?
what are Implode and Explode functions?
What is overloading and overriding in php?
What are the encryption techniques in php?