How to show database query results in "Body" field?
I have a database table of book titles, authors, etc. I created a module that creates a "librarysearch_form" that allows the user to search the database table based on filters for author, title and other criteria. I used the Form API and the Database API. But how do I get from the search form that I created to the results page? I want to somehow put my results in the body region of a page. Do I put that code in the librarysearch_form_submit function, and if so, once I get all the HTML built, how do I inject it into the body region of a page? Can all this code go in the same module as the code I used to build the search form?