1.

What are the differences between mysql_fetch_array () mysql_fetch_object () mysql_fetch_row ()?

Answer»
mysql_fetch_array()mysql_fetch_row()mysql_fetch_object()
This returns an array of strings CORRESPONDING to a FETCHED row, or FALSE if there are no rows.It returns with a NUMERICAL array of strings corresponding to a fetched row, or FALSE if there are no rows.This returns with an object, or a FALSE value if there are no rows.
The returned array type depends on how result_type is definedHere, the row is returned as an array.This FETCHES a result row as an object type.


Discussion

No Comment Found