I have an array with ids
$audit_answer_ids = array(85, 86);
now I have a foreach
$filtered_audits = array();
foreach ($audits as $audit) {
if (condition) {
# code...
}
$filtered_audits[] = $audit;
}
in the if (condition) I need to be able to do
$audit['Adusitoria']['id'] != $audit_answer_ids
so that way the system checks if $audit['Adusitoria']['id'] is equal to any of the ids in the array. Will just a simple if do?