In my experience level i will share this concept.
mysql_fetch_row()
The mysql_fetch_row will return the row of the fetched data as an array.
For Example,
$row=mysql_fetch_row($rs_data);
will give $row[0] as the first filed of the fetched row and $row[1] will give the second field of the fetched row.
mysql_fetch_array()
The mysql_fetch_array will give the row of fetched row as array as like mysql_fetch_row. But the diff is we can use column name for fetching the result.
$row=mysql_fetch_array($rs_data);
Now we can access the row as
$row[0] is same as $row[id] id as column name.
mysql_fetch_object()
The mysql_fetch_object as different from the above two.
mysql_fetch_object will return the row as object.
We can access as,
$row=mysql_fetch_object($rs_data);
The $row data can be accessed as,
$row->id id ------- as column name.
We can't access like $row[0] or $row[id] here.
I think the above discussion will clear your doubt.
Bye,
With Love,
Palanisamy KK
PHP Programer.