1.

Explain the difference between mysql_fetch_array(), mysql_fetch_object()?

Answer»

1. mysql_fetch_object: It RETURNS the RESULT from the database as objects. In this field can be accessed as $result->NAME

2. mysql_fetch_array: It returns result as an array. In this field can be accessed as $result->[name]



Discussion

No Comment Found