Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
No Answer is Posted For this Question
Be the First to Post Answer
Why do we use hooks?
Which is better session or cookie?
Which is the latest version of php?
can anyone explain oops concept in php or give website to learn this concept clearly?
What's the difference between accessing a class method via -> and via ::?
Do you know how to enable error reporting in php?
What is the difference between explode() and split() functions?
What is the difference between array_map () and array_shift ()?
How to generate pdf file in php?
<?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 good average session duration?
How I use global variable in another page without using $_GET method?