note 5297 deleted from function.ifx-error by didou

From: Date: Sat, 03 Feb 2007 03:38:49 +0000
Subject: note 5297 deleted from function.ifx-error by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-122631@lists.php.net to get a copy of this message
Note Submitter: nicks at baygate dot com ---- You can do the queries ROLLBACK WORK, BEGIN WORK, COMMIT WORK with a call to ifx_query() Below is an example of how I handle a rollback. function failure_exit() { global $conn; $exec = ifx_query("ROLLBACK WORK", $conn); if(!$exec) { $err = ifx_errormsg(); HandleError("db","other","failure_exit():ifx_query(): 'ROLLBACK WORK' - $err", 0); } @ifx_close($conn); exit(); }

« previous php.notes (#122631) next »