Tutorials »

There is a fine line between transaction statements and error checking. I am going to blur the line a bit by using PHP to simulate a database transaction. I am doing this because the application is coded using Drupals functions and are so badly written that it will take me too much time to refactor all the functions to use db_affected_rows and return proper booleans.
Posted by girish.r 992 days ago (http://carl.mcdade.me)
Discuss  | Bury | Tweet This | Tagged: simulating database transactions
Add To 

Who Voted for this Story

Comments

No one has commented on this article yet.

Log in to comment or register here.