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:
The only number i need is "4".
But I have no idea how to pull that out. IS this easier than it feels?
Thank you!
Code:
a:1:{i:0;s:2:"4";}
But I have no idea how to pull that out. IS this easier than it feels?
Thank you!
Comment