fixed bug: In pdo_trans() function, if an error occurred, returns true. now returns false.