You should change the search_results.html like:
....
<%if db eq 'table_name'%>
<%include display_custom.html%>
<%else%>
<%Dbsql::HTML::generate_search_results%>
<%endif%>
Hope that helps.
TheStone.
B.
....
<%if db eq 'table_name'%>
<%include display_custom.html%>
<%else%>
<%Dbsql::HTML::generate_search_results%>
<%endif%>
Hope that helps.
TheStone.
B.