How to check and find match a select box's value against a series of PHP arrays e.g
<select id="person" name="person">
<option value="jane">Jane</option>
<option value="julia">Julia</option>
</select>
PHP arrays
$person_1 = ["Id"=> "1", "name"=>"Jane", "age"=>"23" ]
$person_2 = ["Id"=> "2", "name"=>"Julia", "age"=>"29"]
If user select jane then check the value against these two arrays. If it matches with one print the age of that particular person.