Connecting Tech Pros Worldwide Forums | Help | Site Map

[zend framework] Zend_Db::factory

RenzoG
Guest
 
Posts: n/a
#1: Dec 12 '07
Hello,
when i declare a db connection using

try {
$db = Zend_Db::factory('Pdo_Mysql', array(
'host' ='localhost',
'username' ='xx',
'password' ='yy',
'dbname' ='zz'
));
$db->getConnection();
} catch (Zend_Db_Adapter_Exception $e) {
die("Zend_Db_Adapter_Exception: ".$e->getMessage());
} catch (Zend_Exception $e) {
die("Zend_Exception".$e->getMessage());
}

is it possible, in your opinion, to set that i want to use case
sensitive comparisons for all the queries?

Thanks,
Renzo

AnrDaemon
Guest
 
Posts: n/a
#2: Dec 12 '07

re: [zend framework] Zend_Db::factory


Greetings, RenzoG.
In reply to Your message dated Wednesday, December 12, 2007, 12:20:35,
Quote:
when i declare a db connection using
Quote:
try {
$db = Zend_Db::factory('Pdo_Mysql', array(
'host' ='localhost',
'username' ='xx',
'password' ='yy',
'dbname' ='zz'
));
$db->getConnection();
} catch (Zend_Db_Adapter_Exception $e) {
die("Zend_Db_Adapter_Exception: ".$e->getMessage());
} catch (Zend_Exception $e) {
die("Zend_Exception".$e->getMessage());
}
Quote:
is it possible, in your opinion, to set that i want to use case
sensitive comparisons for all the queries?
Force Your tables to use *-binary collation. But it is MySQL question.
What is Your PHP question?


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

Closed Thread


Similar PHP bytes