Why do I have to unserialize this serialized value twice? (wordpress/bbpress maybe_serialize)
- by 55skidoo
What am I doing wrong here? I'm serializing a value, storing it in a database (table bb_meta), retrieving it... OK so far... but then I have to unserialize it twice. Shouldn't I be able to just unserialize once? This seems to work, but I'm wondering what point about serialization I'm missing here.
//check database to see if user has ever visited…