I am Having one PHP array variable called as
for($i=0;$i<sizeof($PhotoCatIdArray);$i++){
$msg[$i]=$PhotoCatIdArray[$i];
}
The above array having int value like 1,3,5 which i would like to place in mysql SQL query .
SELECT * FROM photoCategories WHERE `ID` NOT IN ('1','3','5')
I am trying place those array values in the query Not In ('1','3','5') condition. How i can place it , any one have idea to do it !