How to combine google recaptcha with insert record using MySQLi
I have a working "sign up" script that inserts a record and moves them on to a thank you page, but I need to add some sort of captcha element, as I am having some unwelcome entries.
I added the code for Google recaptcha, but it still lets people through without validating. I was wondering if you could give any advice on integrating the recaptcha into the insert record code on the page, or recommend an alternative to Google?
Web page and code in attachments