Welcome Guest, Not a member yet? Register   Sign In
Edit data from column A but update to column B
#1

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?
Reply
#2

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;
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB