•What is the difference between “mysql_fetch_array”
and “mysql_fetch_object?
Answers were Sorted based on User's Feedback
Answer / ravi farare
mysql_fetch_array() fetches record from database table as an
array. We can access each record like arr[0],arr[1]....etc.
on the other side mysql_fetch_object() fetches record from
database table as an object. So We can access each record
like obj->[column name].
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / kapil dhiman
mysql_fetch_array() return an array of records
mysql_fetch_object return an object of records
| Is This Answer Correct ? | 5 Yes | 0 No |
What is an example of a variable?
Difference among echo, print and printf.
Do you know what is the difference between the include() and require() functions?
What is the functionality of the functions strstr() and stristr()?
What is "echo" in php?
Is overloading possible in php?
What does $_ post mean in php?
What are the differences between include() and include_once () functions?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
What are the design patterns in php?
What are getters and setters php?
What is the Diff. Between echo() and Print() in PHP?
29 Answers CoreNet, Priya, QueenZend, Sky InfoTech, Syntel,