Cetanu Posted August 27, 2009 Share Posted August 27, 2009 Is there a way to make the value of a MySQL column go back to what it was originally? i.e. Column 1's value: 40 It changes to 30 Is there a way to reset it to 40? Quote Link to comment https://forums.phpfreaks.com/topic/172190-solved-php-command-to-reset-mysql/ Share on other sites More sharing options...
ignace Posted August 27, 2009 Share Posted August 27, 2009 Yes there is have a look at transactions: http://dev.mysql.com/doc/refman/5.0/en/commit.html Quote Link to comment https://forums.phpfreaks.com/topic/172190-solved-php-command-to-reset-mysql/#findComment-907884 Share on other sites More sharing options...
Cetanu Posted August 27, 2009 Author Share Posted August 27, 2009 Thanks a bunch. Quote Link to comment https://forums.phpfreaks.com/topic/172190-solved-php-command-to-reset-mysql/#findComment-907885 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.