I have used this method to bind IN() condition , But still my issue is
$in = str_repeat('?,', count($in_array) - 1) . '?';
$sql = "SELECT * FROM my_table WHERE my_value IN ($in) and other_value='$variable' ";
$stm = $db->prepare($sql);
$stm->execute($in_array);
How to bind the $variable with in this query ?
Can any one help ?