// Check, if submitted. if($_POST['Submit']){ /* Send email to "webmaster@localhost". If you want to send more than 1, use "," between the second, third,... Ex. webmaster@localhost, me@domain.com, you@domain.com, ... */ $to="waitinglist@mothermeera.org.uk"; $subject="$wsubject"; // Get time from server. $time=date("d/m/Y H:m:s"); $mail_from="From:$email ($fname $lname)"; $message=" Contact on: $time First Name: $fname Last Name: $lname Town/City: $town Email: $email First Time: $firsttime Comment: $comment "; // Send email. mail($to,$subject,$message,$mail_from); echo "Your request has been submitted, we will respond in due course."; }else{ // Do following codes if not found "Submit" value.(Not submitted) ?>
To be added to the waiting list please use the form below. If a place becomes available we will contact you. You must respond within 24 hours otherwise we will offer the place to the next person on the waiting list (you may wish to provide a telephone number in the Additional Comments box).
If you wish to wait in a group with others or if you can accept a place at either Darshan session then provide us with full details using the Additional Comments box.
Please note that completing this form does not entitle you to a Darshan place. You should check your email Inbox regularly to see if a place has become available.
Thank you.