Jump to content

Undo mysql insert/change made by php function


DJJQ

Recommended Posts

This is the situation:

I have a online booking system which by php manipulates the database. In case if someone changes a booking by mistake I want them to be able to have a rollback function that undoes the latest command made in my mysql database.

I'm sorry if I explained badly earlier.

If with the term correct you mean changing back to the previous state, then yes this is what I want to do. However the user is restricted in the number of commands he can make from my interface, if for lets the user flags a booking as paid he can't change it back.

If there is no simple rollback function I can of course allow the user to change it back himself.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.