<?php $productStates = array(1,2,3,4,5); if(($key = array_search('3', $productStates)) !== false) { unset($productStates[$key]); } print_r($productStates);
You have javascript disabled. You will not be able to edit any code.