Re: [PHP] Weird stack trace in error_log from PDOException

2006-10-21 Thread Russ Brown
Roman Neuhauser wrote: > # [EMAIL PROTECTED] / 2006-10-19 16:05:58 -0500: >> try >> { >> $objStatement->execute($arrParams); >> $intID = $objStatement->fetchColumn(); >> $objStatement->closeCursor(); >> } >> catch (PDOException $objEx) >> { >> error_log(get_class($objEx)); >> //

[PHP] Weird stack trace in error_log from PDOException

2006-10-19 Thread Russ Brown
Hi, I have a pretty simple bit of code that looks like the following; // Prepare a statement. This will actually call a stored procedure $objStatement = $objDB->prepare($strInsert); try { $objStatement->execute($arrParams); error_log("ABOUT TO fetchColumn"); $intID = $objStatement-