Searching a two-dimensional array

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dave_c00
Forum Commoner
Posts: 37
Joined: Wed May 28, 2003 6:08 am

Searching a two-dimensional array

Post by dave_c00 »

HI,

Can i still use array_search to search a two dimensional array and if so how do i go about it??

Ideally i would like the user to enter a field and for the funciton to search the data and print the results.

Thanks

Dave
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Could we see an example of the array you want to search?

Mac
Post Reply