[PHP-DOC] Bug #16187 Updated: mysql_fetch_object docs

2002-03-20 Thread cnewbill

 ID:  16187
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: 4.1.2
 New Comment:

Fixed in CVS.


Previous Comments:


[2002-03-20 16:49:50] [EMAIL PROTECTED]

I guess see what you're saying.  The documentation kind of contradicts
itself.  Now, which part is wrong?




[2002-03-20 15:50:23] [EMAIL PROTECTED]

Did you read the code at all? It is a documentation problem, not more,
not less. How would the parameters to this function be useful, if only
one of the possible constant values can be used?



[2002-03-20 12:41:26] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

Anyway, it means you can use
$object->field (with the fieldnames like in mysql_fetch_array)
but not
$object->1 (like in mysql_fetch_row).

If you want more clarification to translate something correctly, ask it
on [EMAIL PROTECTED] If you just want to know how it works, ask on
[EMAIL PROTECTED]



[2002-03-20 10:57:18] [EMAIL PROTECTED]


 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).


 The optional argument result_type is a
 constant and can take the following values: MYSQL_ASSOC,
 MYSQL_NUM, and MYSQL_BOTH. See
 mysql_fetch_array for explanation
 of these constants.


Could someone please explain this?

TIA,

Manuzhai




-- 
Edit this bug report at http://bugs.php.net/?id=16187&edit=1




[PHP-DOC] Bug #16187 Updated: mysql_fetch_object docs

2002-03-20 Thread alindeman

 ID:  16187
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
 Status:  Open
 Bug Type:Documentation problem
 PHP Version: 4.1.2
 New Comment:

I guess see what you're saying.  The documentation kind of contradicts
itself.  Now, which part is wrong?



Previous Comments:


[2002-03-20 15:50:23] [EMAIL PROTECTED]

Did you read the code at all? It is a documentation problem, not more,
not less. How would the parameters to this function be useful, if only
one of the possible constant values can be used?



[2002-03-20 12:41:26] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

Anyway, it means you can use
$object->field (with the fieldnames like in mysql_fetch_array)
but not
$object->1 (like in mysql_fetch_row).

If you want more clarification to translate something correctly, ask it
on [EMAIL PROTECTED] If you just want to know how it works, ask on
[EMAIL PROTECTED]



[2002-03-20 10:57:18] [EMAIL PROTECTED]


 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).


 The optional argument result_type is a
 constant and can take the following values: MYSQL_ASSOC,
 MYSQL_NUM, and MYSQL_BOTH. See
 mysql_fetch_array for explanation
 of these constants.


Could someone please explain this?

TIA,

Manuzhai




-- 
Edit this bug report at http://bugs.php.net/?id=16187&edit=1




[PHP-DOC] Bug #16187 Updated: mysql_fetch_object docs

2002-03-20 Thread manuzhai

 ID:  16187
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Bogus
+Status:  Open
 Bug Type:Documentation problem
 PHP Version: 4.1.2
 New Comment:

Did you read the code at all? It is a documentation problem, not more,
not less. How would the parameters to this function be useful, if only
one of the possible constant values can be used?


Previous Comments:


[2002-03-20 12:41:26] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

Anyway, it means you can use
$object->field (with the fieldnames like in mysql_fetch_array)
but not
$object->1 (like in mysql_fetch_row).

If you want more clarification to translate something correctly, ask it
on [EMAIL PROTECTED] If you just want to know how it works, ask on
[EMAIL PROTECTED]



[2002-03-20 10:57:18] [EMAIL PROTECTED]


 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).


 The optional argument result_type is a
 constant and can take the following values: MYSQL_ASSOC,
 MYSQL_NUM, and MYSQL_BOTH. See
 mysql_fetch_array for explanation
 of these constants.


Could someone please explain this?

TIA,

Manuzhai




-- 
Edit this bug report at http://bugs.php.net/?id=16187&edit=1




[PHP-DOC] Bug #16187 Updated: mysql_fetch_object docs

2002-03-20 Thread sander

 ID:  16187
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Open
+Status:  Bogus
 Bug Type:Documentation problem
 PHP Version: 4.1.2
 New Comment:

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

Anyway, it means you can use
$object->field (with the fieldnames like in mysql_fetch_array)
but not
$object->1 (like in mysql_fetch_row).

If you want more clarification to translate something correctly, ask it
on [EMAIL PROTECTED] If you just want to know how it works, ask on
[EMAIL PROTECTED]


Previous Comments:


[2002-03-20 10:57:18] [EMAIL PROTECTED]


 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).


 The optional argument result_type is a
 constant and can take the following values: MYSQL_ASSOC,
 MYSQL_NUM, and MYSQL_BOTH. See
 mysql_fetch_array for explanation
 of these constants.


Could someone please explain this?

TIA,

Manuzhai




-- 
Edit this bug report at http://bugs.php.net/?id=16187&edit=1