Inserting/Updating "Userstamps" from a Model |
08-31-2023, 12:56 AM
(This post was last modified: 08-31-2023, 12:56 AM by sknair143. Edit Reason: formating )
My Model :
Code: <?php My Custom Model : Code: <?php But the field not getting updated in my table. The field setting as NULL PHP Code: // Add the fields to the What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
You can also use the session helper like this:
PHP Code: session()->get('key'); What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
What your doing is extending the CodeIgniter Model into a BaseModel.
Then every new Model that you create you extend it with the new BaseModel that yoou created earlier. PHP Code: <?php What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |