How can I pull a specific part out of a serialized data?
I'm new to PHP and I've been trying to wrap my brain around this to no avail. Basically in this program I have groups and the group id is apparently stored as serialized data like this:
Code:
a:1:{i:0;s:2:"4";}
The only number i need is "4".
But I have no idea how to pull that out. IS this easier than it feels?
Leave a comment: