Delete the following line of code:
PHP Code:
$theresult[] = "";
Also, the following line of code should not have a dot in front of the equal sign:
PHP Code:
$theresult[] .= "<br />\n<span class=\"goToBookChapter\" style=\"font-weight: bold;\">".$row['book_title']." ".$row['chapter'].":".$row['verse']."</span><br />\n".$strText;