RE: [PHP-DB] mysql data truncation does not cause an error to be thrown

2007-11-08 Thread Vandegrift, Ken
You may want to check the my.ini setting for the table type you are using and see if there is a setting in there that needs to be enabled. I thought I read once that truncation may happen silently depending on the my.ini setting. Just a thought. Ken Vandegrift Shari's Management Corporation

RE: [PHP-DB] Sigleton DB connection tripping on its elf

2006-07-19 Thread Vandegrift, Ken
my own question, but if you or anybody else can think of a better solution - I am all ears! Ken Vandegrift [EMAIL PROTECTED] Web Administrator Sharis Mgmt. Corp -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 18, 2006 5:32 PM To: Vandegrift, Ken Cc: php-db

[PHP-DB] Sigleton DB connection tripping on itself

2006-07-18 Thread Vandegrift, Ken
Good Day List, I have a singleton DB connection that I am trying to use throughout my application but It keeps tripping on itself. My main question is: If I am in the middle of a transaction can I prepare multiple statements eand execute them or will this cause an error? Here is a code

RE: [PHP-DB] PDO and Exceptions

2006-06-22 Thread Vandegrift, Ken
] Sent: Wednesday, June 21, 2006 5:39 PM To: Vandegrift, Ken Cc: php-db@lists.php.net Subject: Re: [PHP-DB] PDO and Exceptions Vandegrift, Ken wrote: Good Afternoon, I have an instance of a PDO object set to throw a PDOException on errors. However, it does not appear to do this when

[PHP-DB] PDO and Exceptions

2006-06-21 Thread Vandegrift, Ken
Good Afternoon, I have an instance of a PDO object set to throw a PDOException on errors. However, it does not appear to do this when a primary key violation error occurs on an insert sql statement. An exception should be thrown in this case correct? The insert statements are part of a