Loading…

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

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]

Suggest An Answer

No suggestions avaliable!

Latest post from PHP interview questions

Ask Question