Copy link to clipboard
Copied
Can someone let me know where I screwed up here?
http://angelscancleaning.com/booking-page.html
Copy link to clipboard
Copied
Looks like you have not included the jQuery library for your JavaScript starting at line 13
Copy link to clipboard
Copied
I highly recommend using HTML5 contact forms with a secure processing script. The PHP script you're using now is not nearly secure enough for today's web. See the secure script below.
https://github.com/PHPMailer/PHPMailer
PHP Mailer is what most hosting providers recommend because it sanitizes form input data before it reaches your server. There's less chance of hackers exploiting your forms and using your server as a spam relay.
If you can't work with code, use a 3rd party form-to-email service like Wufoo.com or Jotform.com The form data is processed by their servers, not yours.
Hope that helps.
Copy link to clipboard
Copied
Thanks for the help. Yes, I'm using an older style PHP.
Copy link to clipboard
Copied
All of your php variables are inconsistent, you use $user_name to get the information from the form field and then try to output that as $name for example.
Also do you specifically know that your server supports the php mail function? If you can clarify it does then l can most probably help.