ok, i got it working but all it displays is the script message but not the verible name in hte message. it should say
thanks, <$familyname>, for filling in form,
it just says
thanks, , for filling in form
it also makes a .txt document as well with the detials, but it didnt add the veribles in to the doc, just the writing, ill show you the script
<?
$fp = fopen("booking.txt", "w") ; //w will append or create a new file
flock($fp, LOCK_EX); // lock the file
fwrite($fp, "$familyname submitted a booking. \nTheir e-mail address was $email \nTheir phone number was $phone \nTheir Address is $address1 $address2 $address3 $Address4 \nThe Date of the booking is $date \nThe location is $location \nat $time\n\n");
flock($fp, LOCK_UN); // unlock the file
fclose($fp);
echo "<font face=verdana size=1>Thanks, " . $familyname . ", for making the booking, we will get back to you soon,";
?>
thanks