Form

Contact Form Inbox

<?php $errors = ”; $myemail = ‘me@hikmal.web.id’;//<—–Put Your email address here. if(empty($_POST[‘name’])){ $errors .= “n Error: all fields are required”; } $name = $_POST[‘name’]; $email = $_POST[‘email’]; $subject = $_POST[‘subject’]; $message = $_POST[‘message’]; if( empty($errors)){ $to = $myemail; $email_subject = “Contact form submission: $name”; $email_body = ” <html> <head></head> <body> <h2>Enquiry From $name</h2> <hr style=’width:100%’> …

Contact Form Inbox Selengkapnya »

Google Recaptcha Required

if($(“#captha”).val() == ”){ error = true; message += ‘Captchan’; } $(“form”).submit(function(event) { var recaptcha = $(“#g-recaptcha-response”).val(); if (recaptcha === “”) { event.preventDefault(); alert(“Please check the recaptcha”); } });

×