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
Where can I learn php?
Explain me difference between mysql_connect and mysql_pconnect?
What is php7?
What is T_PAAMAYIM_NEKUDOTAYIM?
What are php data types?
Can we set session value in javascript?
What is curl php?
Name some of the popular frameworks in php.
Is php used in 2019?
What is PECL?
What does $this do in php?
Explain what is the difference between $var and $$var?
Whether php supports microsoft sql server?
Where is php code written?
Which escape sequences can be used in single quoted strings in php?