[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all the

Re: [PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Richard Davey
Hi Phillip, Thursday, October 13, 2005, 4:56:30 PM, you wrote: > Having trouble figureing out a certain walk through an array. > And I am not finding the help I need in the manual or anything. > I have an associative arr ($arr) With about 20 elements in it. > Ten of which are required. So I have

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all the

Re: [PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Greg Donald
On 10/13/05, Phillip S. Baker <[EMAIL PROTECTED]> wrote: > I want to see if $key matches any of the values in $required. If so do > something in particular. If not then do something else. It does not > particularly matter which value in the $required it matches, just so long as > it matches. in_ar

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all the