Jump to content


Photo

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


  • Please log in to reply
1 reply to this topic

#1 winggundamth

winggundamth
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 31 May 2006 - 08:40 PM

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

#2 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 31 May 2006 - 08:52 PM

It seems like it's serialized
[a href=\"http://www.php.net/unserialize\" target=\"_blank\"]http://www.php.net/unserialize[/a]
~ D Kuang




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users