I have an array in PHP with IDs:
$idNaoEnvia['1', '3', '6']
And a table named account in MYSQL:
ID | NOME
1 | caio
2 | antonio
3 | cleber
4 | marcos
5 | leonardo
6 | andre
I wanted to use PDO to give a select in the account table only on the NOT names in this array. The answer I hope would be:
antonio, marcos, leonardo
Is it possible?