<?php $profiles = array('1', '2', 'patient'); if (in_array('patient', $profiles) ){ echo 'yesy'; unset($profiles['patient']); } var_dump($profiles);
You have javascript disabled. You will not be able to edit any code.