mysql_fetch_object() returns an object,So we can access the data by the field names only. mysql_fetch_array() returns an array and mysql_fetch_row() fetches one row of the data from the result.