ID: 20656 Comment by: php at thekid dot de Reported By: publicNO at SPAM dot itsminimal dot com Status: Open Bug Type: Feature/Change Request Operating System: n/a PHP Version: 4.2.2 New Comment:
Sybase-CT supports this: http://php.net/manual/en/function.sybase-fetch-object.php Porting this to MySQL should be no problem. Previous Comments: ------------------------------------------------------------------------ [2002-11-26 13:02:31] publicNO at SPAM dot itsminimal dot com I think it would be very useful to be able to specify the class of the object returned by mysql_fetch_object. So perhaps the syntax would be mysql_fetch_object ( resource result, classname ) and the object returned would have all the properties and methods of the user defined class, in addition to having properties that correspond to the fetched row ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20656&edit=1