Jump to content

[SOLVED] How can i do string parsing?


pacaman

Recommended Posts

Hi all, this is my first message to this forum. Glad to be here, thanks all from now...  :D

 

I have strings like $a='a:6:{i:0;s:1:"4";i:1;s:1:"8";i:2;s:1:"9";i:3;s:1:"7";i:4;s:1:"15";i:5;s:1:"3";}';

 

I need to get those 4, 8, 9, 7, 15, 3 numbers to arrray. How can i do that?

Link to comment
https://forums.phpfreaks.com/topic/134331-solved-how-can-i-do-string-parsing/
Share on other sites

Archived

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

×
×
  • Create New...

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.