|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-18 06:27 UTC] sniper@php.net
[2003-07-18 06:28 UTC] sniper@php.net
[2003-07-23 22:29 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 19:00:02 2025 UTC |
Description: ------------ Config: php4.3.1 & php4.2.3 mysql 4.0.12 Problem: When using mysql_fetch_object for retrieve the result of mysql_query("Desc table"); the Fields 'type' isn't correct (it work well with mysql_fetch_array or mysql_fetch_object($resid,3)) Reproduce code: --------------- $resid = mysql_query('Desc table'); while($data = mysql_fetch_object($resid)){ $result[] = $data; } print_r($result); Expected result: ---------------- expects the result is right just this :p Actual result: -------------- error in field type value is wrong