473,480 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

[zend framework] Zend_Db::factory

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
1 6061
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1587
by: HakonB | last post by:
Hi all I get an exception when trying to deserialize a simple configuration file using XML Serialization. The very long stacktrace can be seen at the bottom of this message. I've see other...
17
3290
by: Andreas Huber | last post by:
What follows is a discussion of my experience with .NET generics & the ..NET framework (as implemented in the Visual Studio 2005 Beta 1), which leads to questions as to why certain things are the...
8
254
by: Craig Buchanan | last post by:
I've seen design patterns for class factories that work well to create (fetch) objects, but I haven't seen anything about how to persist the class' data when it has changed. Is this done thru the...
6
3293
by: Nindi | last post by:
5 Files Singleton.h The Singleton Factory.h The factory creating new objects. The Base class of the hierachy stores a typelist identifying the signature of the constructors to be called...
5
1314
by: Sir Galahad | last post by:
Hi all! This is the first message here... I'have a question for you. I never played with php frameworks and surfing the web I discovered those "characters": - Seagull - Blueshoes - P4A...
2
1861
by: Larry | last post by:
Hello, I am about to write an app for Pocket PC 2003 / Windows CE / Mobile 5 (don't know which yet) from which I need to query both SQL Server Express 2005 and SQLCe. I would like to be able to...
0
2047
by: JoeT | last post by:
Hi... OK...I'm having difficulty understanding a problem with installing Zend Studio 5.5 on an Intel Mac. Prior to the install, I had the zend /library installed, and was able to...
3
4586
by: suresh_rai | last post by:
Hello I am hoping someone can give me very needed help. I am wanting some C+ + code for 'C++ Abstract Factory'. I need code to be free. I am been learning Design patterns. I found some code on...
1
2147
by: Puja Patel | last post by:
hi all, am not sure if this is the right place for this post. I created a website on .net framework 2.0 using visual studio 2005 and web service software factory. I created all my business...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6730
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.