|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-27 09:15 UTC] kara@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 07:00:01 2025 UTC |
I have a hard time to abort transaction I'm using Access 97 $connection_id=odbc_connection("DSN","","",); $result=odbc_exec($connection_id, "Select * from table"); odbc_result_all($connection_id); //prints 5 rows $result=odbc_exec($connection_id, "Delete * from table where ID=1"); $ suc=odbc_rollback($connection_id); echo "$suc"; //prints 1 it means rollback succed $result=odbc_exec($connection_id, "Select * from table"); //prints 4 rows