I have a multidimensional array and I would like to search with 2 parameters : city and zip.
My array :
$result=array(2) {
[0]=> array(2)
{
["city"]=> string(9) "Paris"
["zip"]=> string(5) "75000"
}
[1]=> array(2)
{
["city"]=> string(9) "Paris"
["zip"]=> string(5) "75100"
}
}
Ex : search the key value for city=paris and zip=75100
Key=1
An idea ?