info about link
: Javascript Index : PHP : MySQL :
in_array
: Source : : Explanation : : Example : : Todo : : Feedback :

Example of the script/function: inArray() (php's in_array)

We've defined an array with the following values:
  1. 3
  2. marty
  3. excudo
  4. devshed
  5. 100.05


Enter any value and check whether it's in the array


In the function, the first argument - the needle - is the value you enter in the input-box; the second - the haystack - is the array
=[Disclaimer]=     © 2005-2010 Excudo.net