validateStr($name, "name", 3, 75); $v->validateEmail($email, "email"); $v->validateStr($message, "message", 5, 1000); if(!$v->hasErrors()) { $header = "From: $email\n" . "Reply-To: $email\n"; $subject = "d!D Enquiry"; $email_to = EMAIL; $emailMessage = "Name: " . $name . "\n"; $emailMessage .= "Email: " . $email . "\n\n"; $emailMessage .= "Phone: " . $telephone . "\n"; $emailMessage .= $message; //use php's mail function to send the email @mail($email_to, $subject ,$emailMessage ,$header ); //grab the current url, append ?sent=yes to it and then redirect to that url $url = "http". ((!empty($_SERVER['HTTPS'])) ? "s" : "") . "://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; header('Location: '.$url."?sent=yes"); } else { //set the number of errors message $message_text = $v->errorNumMessage(); //store the errors list in a variable $errors = $v->displayErrors(); //get the individual error messages $nameErr = $v->getError("name"); $emailErr = $v->getError("email"); $messageErr = $v->getError("message"); }//end error check }// end isset ?> Green Palace Residency
Book Green Palace Residency Online
Select Date Nights

Book your stay now so to escape from the final rush of holiday seasons.Please note the following before booking.

Name*
Phone No*
Email*
City*
Address

More Details

Check In Date
Check Out Date
No Of Adults
No of Child
No of Rooms