SyntaxFix
Write A Post
Hire A Developer
Questions
Serialize and unserialize are pretty common for that. You could also use JSON via json_encode and json_decode for a less PHP-specific format.