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
Does php have future?
How to turn on the session support?
What is csrf token in php?
What are the three parts of an http request?
What is difference between session_unset and session_destroy?
How to access standard error stream in PHP?
Is php harder than javascript?
What is the use of print_r function in php?
Explain the ternary conditional operator in php?
What type of errors can be occurred in php?
Tell me how to create a text file in php?
What is difference between php and html?
Can you specify the "new line" character in single-quoted strings?
What is the use of Php variables?
Explain about objects in PHP?