Please I want to know if its possible to search a database table with an array for example:
$array = array('a', 'b', 'c', 'd', 'e');
$query = mysqli_query($con, "SELECT * FROM table WHERE //the possible search for each of the array value// (!in_array(table_colomn, $array)");
Is there a possible way to do this or do I have to run a for each function like so:
foreach($array as $arr){
//run table query search for each array value
}
INoperator in MySQL.WHERE table_colomn IN '".$array."'?