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 us how can we access the data sent through the url with the post method?
Which is better php or nodejs?
What is the use of stripslashes in php?
What is the use of count() function in php?
What is static in php?
Is php deprecated?
Which one is best framework for php?
What is the difference between php 5 and php 7?
What does $_ post mean in php?
What is print_r?
What is active record in php?
How send email in php?
What is php compared to html?
Does php pass arrays by reference?
Tell me how to get the value of current session id?