I am using a controller form (index.php) based on one from the Sitepoint book by Kevin Yank about PHP MySQL.
It works and is adding something extra to my form.html.php that is not in the code for that form. It is in the code for output file (titles.html.php). When I call form.html.php, I get my form with one select object.
When I call index.php (controller), I get the basic form PLUS elements from the output page which should not be showing up yet:
Number of books found: 0
Back to search page
I am new to this and don't know where to begin to understand this and work this out. I am having trouble explaining this as well.
Thank you for any help you may give.
Code for index and output files attached.