I removed the excess code and now it works on my local machine.
I cannot see the recordset now in the bindings or the SB's. Is there a way of getting that back?
I uploaded the file to the server to the server and when I try to insert the information on boatenquiry_insert.php
I get an error message Duplicate entry '0' for key 'PRIMARY'