|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-02-11 11:40 UTC] werner dot schuermann at cneweb dot de
I?m using MySQL Version 4.0.8 Gamma Release and PHP 4.3. There is the transaction control implemented. Now I tried to use the statements "set autocommit=0, begin, commit or rollback" within a php-script. At runtime I have got an error: Notice: Use of undefined constant BEGIN - assumes 'BEGIN' in test.php on line xx. The control statements in MySQL are correctly functioning ! I think the transaction control statements aren't supported in PHP yet. Are you able to advice me ? Many Thanks, Werner Schuermann PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 11:00:02 2025 UTC |
you have to use mysql_query("begin"); not mysql_query(begin);