Which is the best method to fetch the data from mysql?
1.mysql_fetch_array()
2.mysql_fetch_object()
3.mysql_fetch_row()
4.mysql_fetch_assoc()
Answer Posted / vinoth
My Opinion is at the developer point of view
mysql_fetch_assoc() is the Best method to fetch data but at
the same time at the user point of view we can use
mysql_fetch_object()for faster execution of the data.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell me how to create a text file in php?
What is session_start () in php?
What is php date function?
Php says that an array is an ordered map. But how the values are ordered in an array?
What is a php session?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
Name some of the functions in php.
What is meant by ‘passing the variable by value and reference' in php?
Is it possible to destroy a cookie?
What is a string in r?
What is difference between get and post in php?
How to check a key exist in an array?
How to use http headers inside php?
What is the output of the ucwords function in this example?
Are parent constructors called implicitly inside a class constructor?