Where can I find php ini file?
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of mysql_real_escape_string() function?
How to create a table using php?
How to check if a string contains a character or word in php?
What are php expressions?
<?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. -->
Are php session secure?
What is difference between require_once(), require(), include()?
How to randomly retrieve a value from an array?
Php code to find whether a number armstrong or not?
Why do we create an instance of a class in php?
What is different between software and app
When to use self over $this?