I\'d like to search inside serialized array, data look like :
a:7:{i:0;s:2:\"34\";i:1;s:1:\"0\";i:2;s:2:\"42\";i:3;s:2:\"33\";i:4;s:2:\"48\";i:5;s:2:\"62\";i:6;s:2
Your query is formatted a little wrong. If you are trying to pass $id_serialize to your query, it needs to be formatted like this:
$id_serialize
$id_serialize = $id; $req = requette("SELECT id FROM table WHERE col LIKE '%" . $id_serialize . "%'");