Inside a php function, what param needs to be set in order to access a global variable?
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. -->
Is it worth learning php in 2019?
How do I start a php session?
What is the use of die in php?
Explain mysql_errno()?
How to access a specific character in a string?
Does jwt protect against csrf?
What is a PHP Filter?
How to parse configuration file in php?
What is the value for this auto incremented field user_pri_id?
how to count how many sundays in month?
What type of comments are supported by PHP.