Hi Ray,
Thanks. Here attached I'm including again the 2 php pages in question, as well as the site again, separately, just in case.
Also, a live link of the page displaying the error can be found here:
http://mybocasmile.com/test-mobile-site/request-appointment.php