next Posted July 23, 2008 Share Posted July 23, 2008 I don't get it, why do i need this? According to the manual: mysqli_commit — Commits the current transaction What's the point in doing so? Can anyone explain please? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/116243-mysqli_commit/ Share on other sites More sharing options...
wildteen88 Posted July 23, 2008 Share Posted July 23, 2008 Have a read of the follow article, explains mysql transactions. Quote Link to comment https://forums.phpfreaks.com/topic/116243-mysqli_commit/#findComment-597707 Share on other sites More sharing options...
next Posted July 23, 2008 Author Share Posted July 23, 2008 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/116243-mysqli_commit/#findComment-597713 Share on other sites More sharing options...
MadTechie Posted July 23, 2008 Share Posted July 23, 2008 Autocommit is normally on.. but if its off then you can commit the changes that what mysqli_commit is for.. think of it this way commit writes the data to the drive while uncommit data is held in memory, if you look up mysqli_rollback it may clear thing up.. rollback reverts back to the uncommits data hope that helps EDIT: wildteen88 link is better lol Quote Link to comment https://forums.phpfreaks.com/topic/116243-mysqli_commit/#findComment-597719 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.