I have an array like this:
$myArray = array(1,2,3,5,4,7,8);
I want to select records where id is IN() $myArray. how do i achieve something like this in the SQL? IN('1','2','3','5','4','7','8') so that each of the element is like a separate string
what am currently doing is not helping:
$SQL = "SELECT id FROM users WHERE id IN(".IMPLODE(',',$myArray).")";