• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.