What is move_uploaded_file in php?
No Answer is Posted For this Question
Be the First to Post Answer
Which of the following represents the proper way to set a session variable? Answer: a. $_SESSION['foo'] = 'bar'; b. session_start(); c. session_set_save_handler ('myopen', 'myclose', 'myread', 'mywrite', 'mydelete', 'mygarbage'); d. $foo = $_SESSION['foo']; 2.When administering MySQL, you should make the data directory accessible via the operating system 3.which statement can be used to determine how the optimizer resolves a query
What are the differences between mysqli_connect and mysqli_pconnect?
How to get the IP address of the client/user in PHP?
What is singleton class in php?
What is indexing how many types?
3 Answers DLF, Infosys, Net Solution, Vcare,
Which of the data type is compound datatype supported by PHP?
What is string and its function?
What's the diff. between include() and Include_once().
<?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’s the difference between sort(), assort() and ksort? Under what circumstances would you use each of these?
What does == mean in php?
What are properties in php?