The following code works perfectly well unless there is only one result, in which case only the containing the column names displays in the web page. Further, a search for