Hey,
I have a pretty large array. For example purposes, lets say I have the following array:
( [testarray] => Array
( [0] => Array ( [0] => 403120 [item_number] => 403120 [1] => May 25 2009 12:00AM [date] => May 25 2009 12:00AM)
[1] => Array ( [0] => 403134 [item_number] => 403134 [1] => Jun 1 2009 12:00AM [date] => Jun 1 2009 12:00AM)
[2] => Array ( [0] => 404444 [item_number] => 404444 [1] => Jun 14 2009 12:00AM [date] => Jun 14 2009 12:00AM )
How do I loop through this array called 'testarray' and display all of the information (in this case date, item number) only if item_number is equal to a certain number?
I know I have done this before, cant find any of my old stuff to look at that.
Thanks!





Bookmarks