So here's what I'm trying to do
I'm going to store params variables into database.
Here's what it's looklike.
------------------------Data that store on my database --------------
--- !map:HashWithIndifferentAccess
"15": "1"
"16": "1"
2-Medium: "0"
1-High: "1"
3-Low: "0"
So here's what I'm trying to do
I'm going to store params variables into database.
Here's what it's looklike.
------------------------Data that store on my database --------------
--- !map:HashWithIndifferentAccess
"15": "1"
"16": "1"
2-Medium: "0"
1-High: "1"
3-Low: "0"
---------------------------------------------------------
So I need to call this parameter from database then pass it on the page
once again But It's not like the previous parameter so any idea?
Please help!!
I'm still confused with this problem
I wonder that,Can I convert this kind of variables back to params?
How to serialize would you mind giving me some example.
suppose that I've session['test'] which store several params inside
such as
session['test'] = idlist['1']=test&idlist['2']=test2
so I need to store this stuff inside my DB so if I need to serialized
what I have to do?
How to serialize would you mind giving me some example.
suppose that I've session['test'] which store several params inside
such as
session['test'] = idlist['1']=test&idlist['2']=test2
so I need to store this stuff inside my DB so if I need to serialized
what I have to do?