Do you mean that you have a form where people can select several options at the same time, giving you arrays like
$A=array(1,5,7);
$C=array(87,9,23);
in that case you'd use the IN statement.
$sQuery = "SELECT *
FROM table
WHERE col_a IN (".implode(',', $A).")
OR col_b IN (".implode(',', $😎.")
OR ...etc...
Note: you'll have to check if an array is empty, because SQL doesn't like IN statements with no data.