I have one-dimensional-array $abc.
$abc = array (90, 91, 92, 93, 94, 95, 96, 97, 98, 99);
I want to use it in WHERE IN
SELECT *
FROM table
WHERE columnA IN ()
while (){
$def[] = $row['def'];
}
When I use simple IN('$abc') I have a response - Undefined variable: def
How to do it properly?