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 / pratik
mysql_fetch_object() is the best method. It is not
generally affected in small result. mysql_fetch_array() has
some limit to fetch data from table. when result it too high
(more than 4000 record) at that time
mysql_fetch_object()will support.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What are default session time and path?
Is php a programming language?
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
How do functions work?
What is the difference server side and browser side validation?
Explain me how to include a file to a php page?
How to replace a text in a string with another text in php?
What php framework does wordpress use?
How do I run a php file?
What are the benefits of composer?
Where session is stored?
Who is known as the father of php?
What is faster?
What is difference between readonly and constant?
Is it possible to protect special characters in a query string?