Edit Pages |
Its simple after updating the record he need to re-fetch the data record by id to re-display it.
Hello Wall! What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Davy_yg. Please go to w3schools, udemy, codeacademy, and learn some basic php before asking people here for answers to basic php questions.
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
(08-28-2016, 04:02 PM)davy_yg Wrote: I update it into something else: @davy_yg is your "setting" table store only 1 record? It seems to me since you just updating the record in that table without condition. What if you haven't yet any record in this "setting" table? If that is the case you should insert the settings first and the next execution will be updating. Mpages.php PHP Code: function settings()
[Just a programmer]
![]() |
Welcome Guest, Not a member yet? Register Sign In |