![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Different between mysql_fetch_object and mysql_fetch_assoc/array?
From: Marcus <JumpMan222@aol.com>
Date: Wed Oct 05 2005 - 21:21:59 CEST
Alucard wrote:
In my experience there is no difference between the two. I would guess
The difference is after you run your query with either:
$row = mysql_fetch_object($result) or
you would reference your fields by
$row->field or
respectively. I like using mysql_fetch_object because it seems natural
|