What are the differences between MySQL_fetch_array(),
MySQL_fetch_object(), MySQL_fetch_row()?
Answer Posted / amita
mysql_fetch_object will return result from database as
objects i.e. $result->name
mysql_fetch_array will fetch result row as an associative
array or numeric array or both with the help of mysql_NUM or
mysql_ASSOC option.
eg: $result[0] ,$result['name']
mysql_fetch_row will fetch result row as an numeric array.
eg: $result[0]
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Will mysql remain free?
What is mysql installer?
What is an example of a delimiter?
How can we encrypt and decrypt a data presented in a table using mysql?
How to write optimized query in mysql?
Which mysql function is used to concatenate string?
What is required to create mysql database?
What is the usage of regular expressions in mysql?
What is processlist in mysql?
What is unique key in mysql?
What is the purpose of using ifnull() function?
Where does mysql store data?
How do I edit a database in mysql workbench?
Write a command to list all databases in mysql?
How to use regular expression in pattern match conditions?