On Tue, 2009-12-22 at 15:24 +0330, sina miandashti wrote:
> $db = Zend_Db::factory ( $dbConfig ['adapter'], $dbConfig ['db'] );
>
> try {
> $db->query("SET NAMES 'utf8'");
>
> } catch ( Zend_Exception $e ) {
> die ( $e->getMessage () );
> }
>
As I mentioned they are all set in my.cnf file.
2009年12月22日星期二
订阅:
博文评论 (Atom)
没有评论:
发表评论