mysql_fetch_object() is similar to mysql_fetch_array(), with one difference - an object is returned, instead of an array. Indirectly, that means that you can only access the data by the field names, and not by their offsets (numbers are illegal property names).
Last edited by Ben; 06-08-2008 at 07:36.
Reason: spammed advertisements
|