CodeIgniter Forums

Full Version: Edit data from column A but update to column B
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, i create a system where employee update data, but only after approved by manager it become updated.
Some of  the column are this : 

The Address, New Address    

When a employee update, his data will input to "new address".  So i want, when the manager clik edit button, the content of "new Adress" will go to address (updating column "the address"). How to do this?
Copy new_address to the_address and run an update query on the database.

If you need to update the html view then you would need to use jQuery etc;