add getNext() to searchResult.php