How to use json_decode a post_meta value? [duplicate]
The values look like they have been serialized using maybe_serialize( $data ). If that’s the case, then you can reverse that with maybe_unserialize( $original ). As per this answer, unserialize( $str ) will also create a PHP value from a stored representation. Try: $mydata=”a:3:{i:0;s:6:”ozujak”;i:1;s:7:”travanj”;i:2;s:7:”svibanj”;}”; $mydata = unserialize($mydata); echo $mydata[0]; // ozujak