I am trying to save lots of variables to a database and it is getting ridiculous now. I am using PHP and MySQL.
Is there a way, I can get the array value and the arr
Serialize the data and write it to a single field in one table. Then to retrieve the data unserialize it and you are left with an array.
Then write $serialized to database ?>
To retrieve
First Get $serialized from database $array = unserialize($serialized); ?>