|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-03-20 12:41 UTC] sander@php.net
[2002-03-20 15:50 UTC] manuzhai at xavamedia dot nl
[2002-03-20 16:49 UTC] alindeman@php.net
[2002-03-20 17:21 UTC] cnewbill@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 12:00:02 2025 UTC |
<para> <function>mysql_fetch_object</function> is similar to <function>mysql_fetch_array</function>, 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). </para> <para> The optional argument <parameter>result_type</parameter> is a constant and can take the following values: MYSQL_ASSOC, MYSQL_NUM, and MYSQL_BOTH. See <function>mysql_fetch_array</function> for explanation of these constants. </para> Could someone please explain this? TIA, Manuzhai