So I currently have this, so if $iDontWant matches something in the array from $data->Name, it removes the whole line. Using the same method how could I do the same but with multiple $iDontWant? So say another $iDontWant2, and this also remove from the foreach? Every way I have tried seems to break things!
$iDontWant="bla"
foreach($datas as $data) {
if($data->Name == $iDontWant) continue;
echo '<div class="checkmark-33"><div class="fa-stack fa-1x checkmark-icon"><i class="fa fa-circle fa-stack-2x icon-background"></i><i class="fa fa-check fa-stack-1x icon-text"></i></div><div class="checkmark-inner">'. $data->Name .'</div></div>';
}; ?>
Any help would be great, thanks!