I have a serialized array like this
a:6:{i:0;i:6;i:1;i:65;i:2;i:56;i:3;i:87;i:4;i:48;i:5;i:528;}
For example i want to make a mysql query like this
$id_serialize = 6;
"SELECT id FROM table WHERE col LIKE '% i:" . $id_serialize . "; %'"
Is it possible to get a conflict (for example the numbers are repeated etc.) as a consequence of this query ?
Is there another more effective and correct way to find number in array without unserializing the array and without looping ?