What does mysqli_query return?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ?

2 Answers   TCS,


What is print_r?

0 Answers  


What are the difference between include_once & Require_once?

2 Answers  


How to check whether a number is prime or not?

0 Answers  


How many ways can we get the value of current session id?

3 Answers   Infosys, L&T, SysBiz, Torque Infotech,


How many records can be stored in mysql table?

0 Answers  


What is session in php why it is use?

0 Answers  


In php, objects are they passed by value or by reference?

0 Answers  


<?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. -->

1 Answers  


How to use http headers inside php?

0 Answers  


Explain about Functions in PHP?

1 Answers  


Where to put php files in apache server?

0 Answers  


Categories