[eluser]Jay Logan[/eluser]
Working with a new API that basically gives me a second database of schools around the country. I already have a decent sized DB of schools myself. What I want to do is allow the user to search for a school and if it exists in my DB, don't show the school from the second DB. I'm matching the DB's up with a column in my DB. What I need help with is the arrays that get spit out from each DB. See below.
Code:
[0] => Array
(
[ID] => 4167
[Name] => Pope High School
[Abbreviation] => Pope
[TeamType] => H
[City] => Marietta
[State] => GA
)
[1] => Array
(
[ID] => 4167
[Name] => Pope High School
[Abbreviation] => PHS
[TeamType] =>
[City] => Marietta
[State] => GA
)
Key "1" is my item and is the only item that should show. Notice that the ID's are the same. Is there a way I can search if ID matches - and if they match, only show my item?