in_array
Example of the script/function: inArray() (php's in_array)
We've defined an array with the following values:
- 3
- marty
- excudo
- devshed
- 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