If PDO's beginTransaction() fails, it returns false. What would be the best thing to do here? Here's what I'm about to do: If it returns false, I want to log something to a file.
I'm really not sure if array PDO::errorInfo ( void )
is my friend here? Would that contain more information?