$person) { if (ucfirst(strtolower($person["surname"])) === ucfirst(strtolower($q))) { $results[] = $id; } } if (count($results) === 0): ?>