How can I query serialized data? How can I query serialized data? A: 3: {s: 4: & quot; feed & quot; a: 5: {s: 5: & quot; doing & quot; I: 1; s: 4: & quot; blog & quot; I: 1; s: 6: & quot; upload & quot; I: 1; s: 4: & quot; how does pol query serialized data?
How can I query serialized data?
A: 3: {s: 4: "feed"; a: 5: {s: 5: "doing"; I: 1; s: 4: "blog"; I: 1; s: 6: "upload"; I: 1; s: 4: "poll"; I: 1; s: 9: "newthread"; I: 1 ;} s: 4: "view"; a: 8: {s: 5: "index"; I: 0; s: 6: "friend"; I: 0; s: 4: "wall"; I: 0; s: 4: "home"; I: 0; s: 5: "doing"; I: 0; s: 4: "blog"; I: 0; s: 5: "album"; I: 0; s: 5: "share"; I: 0;} s: 7: "profile"; a: 8: {s: 8: "realname"; I: 3; s: 6: "gender"; I: 3; s: 8: "birthday"; I: 3; s: 9: "birthcity"; I: 3; s: 10: "residecity"; I: 3; s: 15: "affectivestatus "; i: 0; s: 10: "lookingfor"; I: 0; s: 9: "bloodtype"; I: 0 ;}}
Such.
------ Solution --------------------
PHP code
------ Solution --------------------
What does it mean? Query Database?
$ S = 'Your string ';
Select * from tt where 'Field' = '$ s ';
------ Solution --------------------
After deserialization