Hello if i have an array
$a = array (1,2,3,4,5,6,7);
can i insert that $a as a filter in a Select STATEMENt
for example
select * from [table] where id = $a;
thank u
SELECT * FROM tablename WHERE id IN (1,2,3,4,5,6,7); i.e. you should [man]implode/man the array.
ohok thanks about that....but this was an example...the main problem is that the array can change any time so i wont know how many the values it will have....
do u think implode can help with that?
Yes.
ok mate thxs🙂