Welcome Guest, Not a member yet? Register   Sign In
Updating a session array
#6

No way. Inside session(), it's just checking isset($_SESSION[$key]), so you check the primary key in has() get()...
You can save the array to a variable and already work with it, and overwrite the session at the end.
It's like working with SQL - get row data , processing, saving.
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply


Messages In This Thread
Updating a session array - by Qodi - 10-19-2018, 12:35 PM
RE: Updating a session array - by Sunchock - 01-31-2025, 04:25 AM
RE: Updating a session array - by luckmoshy - 01-31-2025, 09:59 AM
RE: Updating a session array - by InsiteFX - 01-31-2025, 11:35 PM
RE: Updating a session array - by Sunchock - 02-01-2025, 06:29 AM
RE: Updating a session array - by ozornick - 02-04-2025, 12:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB