In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Gb Clark II) wrote:
> Let me give you an example of what I'm wanting in pseudo-code. > > connect to database > > exec query > > error in query > > catch error > > rollback database > > It is almost like exceptions. Exception handling isn't available in PHP, but for what you want to do one or more of these should be of assistance: <http://www.php.net/manual/en/function.die.php> <http://www.php.net/manual/en/function.assert.php> <http://www.php.net/manual/en/function.set-error-handler.php> -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]