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
Why echo is faster than print in php?
Can we use php variable in javascript?
List some array functions in php?
What is $_ env in php?
What is the use of print_r function in php?
Which cryptographic extension provide generation and verification of digital signatures?
Which php framework is in demand?
Write a program using while loop?
What is singleton design pattern in php?
Is session a cookie?
Explain me what is the difference between explode() and split() functions?
Write a program to find no of days between two dates in php?
What is the use of addslashes in php?
What is the php function that removes the first element of the array and returns it?
Explain Whitespace Characters?