Hello,

How I can use fetchAll with fethMode = Object and using the class Article
(for example) ?
I can use fetchObject('Article') and will fetch on my class, but in fetchAll
the default class is stdClass.

The PDOStatement has the function: (
http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)
bool *setFetchMode* ( int $PDO::FETCH_CLASS , string $classname , array
$ctorargs )


Best Regards,
-- 
Renan Gonçalves - Web Developer
Cell Phone: +55 (11) 8633-6018
MSN: [EMAIL PROTECTED]
Web Site: renangoncalves.com
São Paulo - SP/Brazil

Reply via email to