PDO: test for transaction

I am using PDO for my MySQL database connection and actions.
I was wondering if it is possible to test if your are in a
transaction.
....
start transaction
....

call a function, can I test in this function if I am in the middle of
a transaction or not ?

....
end transaction
....

thanx,

Pugi!
puginews [ Fr, 14 September 2007 12:03 ] [ ID #1820643 ]
PHP » alt.php.sql » PDO: test for transaction

Vorheriges Thema: How to enforce an ENUM ?
Nächstes Thema: Problem Getting MS SQL Data With Single Quotes