Jump to content

store session array in database


asmith

Recommended Posts

You database table would need to have those columns (i.e. field1, field2, field3) then you insert key 1 into field1, key 2 into field2, etc...

 

note : if you are thinking about adding new COLUMNS for each of those array values then slap yourself on the forehead and redo your database design and rethink that you're doing.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.