# [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));
// Actually handle the exception
}
The query
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));
// Actually handle the
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 =
3 matches
Mail list logo