0) { foreach($errors as $error) { ?> =$error?> } } if(count($msgs)>0) { foreach($msgs as $msg) { ?> =$msg?> } } ?>