<?php $a = array(1,2,3,4); echo array_search(7, $a); if(array_search(4, $a)) { echo array_search(7, $a); } else { echo 'no'; }
You have javascript disabled. You will not be able to edit any code.