[PHP-DB] Re: Big Problem...Need Help Quick

2002-01-03 Thread Kelvin Yip
SomeOne Please Help Thanks. Kelvin. Kelvn [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have deleted the DB by mistake. Please I don't know how to write the rollback statement. I need complete code from you guys. Please Help Quick. Thanks Kelvin.

Re: [PHP-DB] Re: Big Problem...Need Help Quick

2002-01-03 Thread Miles Thompson
Kelvin, Backup is your friend, I hope you have one. The only way you can implement a rollback is if you use transactions in your code. In general terms it works like this ... Begin transaction SQL processing ,etc. If no errors Commit transaction else Rollback End