Hello Lukas, Monday, October 25, 2004, 2:48:41 PM, you wrote:
> D Kingma wrote: >> I just took a view at some PDO examples on the net and it looks promissing. The >> one thing that I would to see is that the fetch method accepts a class name as >> optional second parameter (when using PDO_FETCH_OBJ or PDO_FETCH_LAZY) and then >> returns a new instance of the given class with the given result row as >> properties (when defined in the class). > Yes, that as on the todo at somepoint. Atleast it was on Marcus's todo > list at somepoint. Another cool thing to have would be to also be able > to pass an existing class instance instead of a class name. In the first go of PDO, where we tested some basic concepts we had both. That code is still available if anybody wants to try such fetch functionality: http://marcus-boerger.de/php/ext/pdo Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php