Posted by Steffen on 06/09/06 06:58
Hi Paul
> Are there any benefits to using mysql_fetch_object() instead of
mysql_fetch_assoc()?
AFAIK there is only one major difference.
mysql_fetch_assoc returns an array, mysql_fetch_object() returns an
object that contains the same values as the array.
mysql_fetch_assoc()
$row["userid"]
mysql_fetch_object()
$row->userid
Regards
Steffen Jahr
Navigation:
[Reply to this message]
|