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
Is mysql good for large database?
Where is mysql installed on linux?
what is constraints?
i made a table whih contain a column "Photo" with image data type and i want to insert the byte of a picture present in my hardisk using insert statement in that colum... so what will be my insert statement?
Is mysql distributed?
How to write after insert event update trigger on the same table in mysql?
What happens if null values are involved in expressions?
How do I check mysql version?
What is an example of a delimiter?
What are mysql queries?
How to print message in mysql trigger?
What is a text delimiter?
What is acid in mysql?
How do I start and stop mysql on windows?
Is mysql query case sensitive?