What are the different ways we can retrive the mysql results
using php ? Explain each



What are the different ways we can retrive the mysql results using php ? Explain each..

Answer / prasad

mysql_fetch_row //fetch as row
mysql_fetch_array //fetch as array.retrieve data using
index or feild name
mysql_fetch_assoc //fetch as associative array
mysql_fetch_object //fetch as object

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the difference between get and post in php?

0 Answers  


How can we get the browser properties using PHP?

4 Answers   Google, Pollux Softech,


Which function is used in php to count the total number of rows returned by any query?

0 Answers  


What is htaccess?

1 Answers  


Which of the data type is compound datatype supported by PHP?

0 Answers  






Is facebook still in php?

0 Answers  


How can we create a database using php?

0 Answers  


What is empty php?

0 Answers  


Which function Returns the time of sunrise for a given day / location in PHP.

0 Answers  


what is php stands for?

23 Answers   Infosys, Satyam, Torque Infotech,


what is the difference between ph4 and php5

2 Answers  


How do you end a session in php?

0 Answers  


Categories