<?php

$nameguest1 = $_REQUEST["nameguest1"];

$genderguest1 = $_REQUEST["genderguest1"];

$nationalityguest1 = $_REQUEST["nationalityguest1"];

$heightguest1 = $_REQUEST["heightguest1"];

$birthdatedayguest1 = $_REQUEST["birthdatedayguest1"];

$birthdatemonthguest1 = $_REQUEST["birthdatemonthguest1"];

$birthdateyearguest1 = $_REQUEST["birthdateyearguest1"];



$nameguest2 = $_REQUEST["nameguest2"];

$genderguest2 = $_REQUEST["genderguest2"];

$nationalityguest2 = $_REQUEST["nationalityguest2"];

$heightguest2 = $_REQUEST["heightguest2"];

$birthdatedayguest2 = $_REQUEST["birthdatedayguest2"];

$birthdatemonthguest2 = $_REQUEST["birthdatemonthguest2"];

$birthdateyearguest2 = $_REQUEST["birthdateyearguest2"];



$nameguest3 = $_REQUEST["nameguest3"];

$genderguest3 = $_REQUEST["genderguest3"];

$nationalityguest3 = $_REQUEST["nationalityguest3"];

$heightguest3 = $_REQUEST["heightguest3"];

$birthdatedayguest3 = $_REQUEST["birthdatedayguest3"];

$birthdatemonthguest3 = $_REQUEST["birthdatemonthguest3"];

$birthdateyearguest3 = $_REQUEST["birthdateyearguest3"];



$nameguest4 = $_REQUEST["nameguest4"];

$genderguest4 = $_REQUEST["genderguest4"];

$nationalityguest4 = $_REQUEST["nationalityguest4"];

$heightguest4 = $_REQUEST["heightguest4"];

$birthdatedayguest4 = $_REQUEST["birthdatedayguest4"];

$birthdatemonthguest4 = $_REQUEST["birthdatemonthguest4"];

$birthdateyearguest4 = $_REQUEST["birthdateyearguest4"];



$nameguest5 = $_REQUEST["nameguest5"];

$genderguest5 = $_REQUEST["genderguest5"];

$nationalityguest5 = $_REQUEST["nationalityguest5"];

$heightguest5 = $_REQUEST["heightguest5"];

$birthdatedayguest5 = $_REQUEST["birthdatedayguest5"];

$birthdatemonthguest5 = $_REQUEST["birthdatemonthguest5"];

$birthdateyearguest5 = $_REQUEST["birthdateyearguest5"];



$nameguest6 = $_REQUEST["nameguest6"];

$genderguest6 = $_REQUEST["genderguest6"];

$nationalityguest6 = $_REQUEST["nationalityguest6"];

$heightguest6 = $_REQUEST["heightguest6"];

$birthdatedayguest6 = $_REQUEST["birthdatedayguest6"];

$birthdatemonthguest6 = $_REQUEST["birthdatemonthguest6"];

$birthdateyearguest6 = $_REQUEST["birthdateyearguest6"];


$nameguest7 = $_REQUEST["nameguest7"];

$genderguest7 = $_REQUEST["genderguest7"];

$nationalityguest7 = $_REQUEST["nationalityguest7"];

$heightguest7 = $_REQUEST["heightguest7"];

$birthdatedayguest7 = $_REQUEST["birthdatedayguest7"];

$birthdatemonthguest7 = $_REQUEST["birthdatemonthguest7"];

$birthdateyearguest7 = $_REQUEST["birthdateyearguest7"];


$nameguest8 = $_REQUEST["nameguest8"];

$genderguest8 = $_REQUEST["genderguest8"];

$nationalityguest8 = $_REQUEST["nationalityguest8"];

$heightguest8 = $_REQUEST["heightguest8"];

$birthdatedayguest8 = $_REQUEST["birthdatedayguest8"];

$birthdatemonthguest8 = $_REQUEST["birthdatemonthguest8"];

$birthdateyearguest8 = $_REQUEST["birthdateyearguest8"];



$tel = $_REQUEST["tel"];

$email = $_REQUEST["email"];

$hotel = $_REQUEST["hotel"];

$additionalinfo = $_REQUEST["additionalinfo"];

$nationality = $_REQUEST["nationality"];

$dateday = $_REQUEST["dateday"];

$datemonth = $_REQUEST["datemonth"];

$timeoftour = $_REQUEST["timeoftour"];

$agent = $_REQUEST["agent"];

$voucher = $_REQUEST["voucher"];





$to = "justnoktours@gmail.com, roland.poole@gmail.com";

$subject = "Bangkok by Night";

$message = "Bangkok by Night\n\n


Name of guest 1:\t  $nameguest1   
\tGender :\t\t $genderguest1   
\tNationality :\t\t$nationalityguest1   
\tHeight : \t\t $heightguest1  
\tDOB : \t\t\t $birthdatedayguest1 $birthdatemonthguest1 $birthdateyearguest1
         
Name of guest 2:\t  $nameguest2   
\tGender :\t\t $genderguest1   
\tNationality :\t\t$nationalityguest2   
\tHeight : \t\t $heightguest2  
\tDOB : \t\t\t $birthdatedayguest2 $birthdatemonthguest2 $birthdateyearguest2

Name of guest 3:\t  $nameguest3   
\tGender :\t\t $genderguest3   
\tNationality :\t\t$nationalityguest3   
\tHeight : \t\t $heightguest3 
\tDOB : \t\t\t $birthdatedayguest3 $birthdatemonthguest3 $birthdateyearguest3
         
Name of guest 4:\t  $nameguest4   
\tGender :\t\t $genderguest4   
\tNationality :\t\t$nationalityguest4   
\tHeight : \t\t $heightguest4  
\tDOB : \t\t\t $birthdatedayguest4 $birthdatemonthguest4 $birthdateyearguest4
         
Name of guest 5:\t  $nameguest5   
\tGender :\t\t $genderguest5   
\tNationality :\t\t$nationalityguest5   
\tHeight : \t\t $heightguest5  
\tDOB : \t\t\t $birthdatedayguest5 $birthdatemonthguest5 $birthdateyearguest5
 
Name of guest 6:\t  $nameguest6   
\tGender :\t\t $genderguest6   
\tNationality :\t\t$nationalityguest6   
\tHeight : \t\t $heightguest6  
\tDOB : \t\t\t $birthdatedayguest6 $birthdatemonthguest6 $birthdateyearguest6
   
Name of guest 7:\t  $nameguest7   
\tGender :\t\t $genderguest1   
\tNationality :\t\t$nationalityguest7   
\tHeight : \t\t $heightguest7  
\tDOB : \t\t\t $birthdatedayguest7 $birthdatemonthguest7 $birthdateyearguest7

Name of guest 8:\t  $nameguest8   
\tGender :\t\t $genderguest8   
\tNationality :\t\t$nationalityguest8   
\tHeight : \t\t $heightguest8  
\tDOB : \t\t\t $birthdatedayguest8 $birthdatemonthguest8 $birthdateyearguest8\n
 
Telephone:\t\t\t$tel

Email:\t\t\t\t   $email

Additional Info:\t    $additionalinfo

Date of tour:\t\t     $dateday $datemonth

Name of agent:\t\t  $agent

Voucher No.:\t\t     $voucher

";



$send_contact=mail($to,$subject,$message);

if($send_contact)
{header('Location: http://www.justnoktours.com/completebbn.php');}

else 
{header('Location: http://www.justnoktours.com/error.php');}

?>







