Articles Posted in the " in_array " Category

  • in_array

    in_array

    Syntax: bool in_array ( mixed $needle , array $haystack [, bool $strict = FALSE ] ) Description: Checks if a value exists in an array <?php $os = array("Mac", "NT", "Irix", "Linux",1); if (in_array("Irix", […]