I have an array of numbers and I have another number which I want to test to see if it is in the array. How do I do this?
So, if I have the numbers 4, 5, and 6 in the array called $list and I have a variable called $test which contains the number 5. How do I test the contents of the variable against every item in the array.
Thanks ... ummm probably to my hero MAX!!
-JRW
So, if I have the numbers 4, 5, and 6 in the array called $list and I have a variable called $test which contains the number 5. How do I test the contents of the variable against every item in the array.
Thanks ... ummm probably to my hero MAX!!
-JRW
Comment