By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 1,081 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

[zend framework] Zend_Db::factory

P: n/a
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
Dec 12 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Greetings, RenzoG.
In reply to Your message dated Wednesday, December 12, 2007, 12:20:35,
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?
Force Your tables to use *-binary collation. But it is MySQL question.
What is Your PHP question?
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru>

Dec 12 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.