save and edit share same method? |
I would propose a different pattern, whether we add or edit is not information that needs to be kept within session. Here the link can tell what is going to happen:
something/add something/edit/15 Code: class Something extends CI_Controller { |
Messages In This Thread |
save and edit share same method? - by iridion2015 - 05-05-2016, 08:40 PM
RE: save and edit share same method? - by Wouter60 - 05-06-2016, 01:21 AM
RE: save and edit share same method? - by Wouter60 - 05-06-2016, 11:14 AM
RE: save and edit share same method? - by ivantcholakov - 05-06-2016, 11:45 AM
RE: save and edit share same method? - by cartalot - 05-06-2016, 12:05 PM
|