What is the difference between mysql_fetch_object and
mysql_fetch_array?
Answer Posted / priya ranganathan
mysql_fetch_object : will return the results from database
as objects. fields will be accessible like in objects
i.e $result->name,$result->cust_name
mysql_fetch_array : will return the results from database as
array. fields will be accessible like in objects
i.e $result[name],$result[cust_name]
Is This Answer Correct ? | 139 Yes | 10 No |
Post New Answer View All Answers
What is whitespace in php?
What is restful api?
What is default session time in php?
what is mean by portal
Does php support multithreading?
Is php free to use?
How to replace a substring in a given string in php?
What are encryption functions in php?
What are different types of runtime errors in php?
What is htmlentities function in php?
What is a model in php?
What is difference between md5 and SHA256?
CWD is a type of shell variable. State Whether True or False?
What is the difference between overloading and overriding in php?
How does html form submit work?