Check if value is in array and outputs Yes or No <?php $names = array( 'Bob', 'Jim', 'Mark' ); echo 'In Array? '; if (in_array('foo', $names)) echo 'Yes'; ...
確定! 回上一頁