thanks, in my case:
$post->event_attributes[‘location’] = s:21:”a:1:{i:0;s:4:”2276″;}”;
so when I wrap this in two unserialize functions;
$array = unserialize(unserialize($post->event_attributes[‘location’]))
I can echo $array[0]; to get the ID i needed.
Does this seem like a good method or is there a cleaner way to extract this data?