When I implode my array I get a list that looks like this:
qwerty, QTPQ, FRQO
I need to add single quotes so it looks like:
\'
$ids = array(); foreach ($file as $newaarr) { array_push($ids, $newaarr['Identifiant']); } $ids =array_unique($ids); //$idAll=implode(',',$ids); $idAll = "'" . implode ( "', '", $ids ) . "'";