Jump to content

Archived

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

winggundamth

Want to convert a:1:{i:0;s:15:"thread-new_post";} to array

Recommended Posts

I have text something like this.

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]a:10:{i:0;s:15:"thread-new_post";i:1;s:15:"thread-bookmark";i:2;s:16:"forum-new_thread";i:3;s:14:"forum-new_post";i:4;s:18:"forum-new_fullpost";i:5;s:14:"forum-bookmark";i:6;s:16:"global-new_forum";i:7;s:15:"global-new_post";i:8;s:19:"global-new_fullpost";i:9;s:13:"global-digest";}[/quote]

How to convert above to use in php?
Is that standard type?
If not what is standard type?

Please help me.

Thank you

Share this post


Link to post
Share on other sites
It seems like it's serialized
[a href=\"http://www.php.net/unserialize\" target=\"_blank\"]http://www.php.net/unserialize[/a]

Share this post


Link to post
Share on other sites

×

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.