"; } else { echo "Match not found"; } if (in_array("Glenn",$people, TRUE)) { echo "Match found"; } else { echo "Match not found"; } if (in_array(23,$people, TRUE)) { echo "Match found"; } else { echo "Match not found"; }