What is input sanitization in php?
No Answer is Posted For this Question
Be the First to Post Answer
What is the advantage of runtime polymorphism?
What is api used for?
client side scripting language Vs server side scripting language
How can I reverse sort an array keeping the correlation between the index and value?
2 Answers Rushmore Consultancy,
How can you send http header to the client in php?
What are the difference between include_once & Require_once?
What is a path Traversal?
How to generate a form?
What is boolean in php?
What is the difference between for and foreach?
<?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 the use of post in php?