How to remove serialized data
-
Trying to display 2 “checkbox” label values. If only one of the checkbox’s is selected the output looks fine, but if both checkbox’s have been selected the results I get include the serialized data which is part of the string, seen here;
a:2:{i:0;s:30:”Value1″;i:1;s:34:”Value2″;}
How can I strip (filter) this from my output so that the result looks something like this;
Value1
Value2Any help much appreciated, thanks.
- The topic ‘How to remove serialized data’ is closed to new replies.