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 / 24/06/08
mysql_fetch_array() is select total values of tables.
mysql_fetch_object() is select a partcular name of the row
in a tables.
mysql_fetch_row() is select row in tables is saem one
object functionor comment.
mysql_fetch)assoc() it means the same function of
mysql_fetch)row and object function.
| Is This Answer Correct ? | 7 Yes | 5 No |
Post New Answer View All Answers
Is it possible multiple inheritance in php?
How do you explain independent and dependent variables?
What is the difference between explode () and split () functions in php?
How to stop the execution of php script?
What is the use of pear in php?
What are the different filter functions used to filter a variable?
What is the use of mvc in php?
Where php basically used?
What is inheritance in php? How many types of inheritance supports php?
What is difference between php and html?
What is new keyword in php?
How would you determine the size of a file in php?
What is difference between include and include_once in php?
Is it worth learning php in 2019?
Tell me how to find the position of the first occurrence of a substring in a string?