Jump to content

Desperately Need Help, Please!


DancingBunnyUSA

Recommended Posts

How do I go about making this form work?
http://worldlinedancenewsletter.com/form_wtd-PRIV.html

 

I tried using PHP but it didn't work so took the php down.  Below is what I had for PHP:
 

<?php
$to = "stacyjgwldn@gmail.com";
$subject = "Where To Dance Form";
$message = "Instructor name: " . $_POST['name'] . "\r\n" .
"Email: " . $_POST['email'] . "\r\n" .
"Check one: " . $_POST['change'] . "\r\n" .
"Check one: " . $_POST['addition'] . "\r\n" .
"Check one: " . $_POST['delete'] . "\r\n" .

"USA country: " . $_POST['country'];
"State: " . $_POST['state'];
"Province: " . $_POST['province'] . "\r\n" .
"City: " . $_POST['city'] . "\r\n" .

"UK county: " . $_POST['county'];
"Town: " . $_POST['town'] . "\r\n" .

"Instructor name: " . $_POST['instructor'] . "\r\n" .
"Contact instructor: " . $_POST['emailinstructor'] . "\r\n" .
"Instructor website: " . $_POST['instructorwebsite'] . "\r\n" .

"Venue: " . $_POST['venue'] . "\r\n" .
"Venue address: " . $_POST['address'] . "\r\n" .
"Venue phone: " . $_POST['phone'] . "\r\n" .
"Venue email: " . $_POST['email'] . "\r\n" .
"Venue website: " . $_POST['website'] . "\r\n" .
"Google map: " . $_POST['googlemap'] . "\r\n" .

"Price: " . $_POST['price'] . "\r\n" .
"Level: " . $_POST['ultrabeg'] . "\r\n" .
"Level: " . $_POST['beginner'] . "\r\n" .
"Level: " . $_POST['improver'] . "\r\n" .
"Level: " . $_POST['int'] . "\r\n" .
"Level: " . $_POST['adv'] . "\r\n" .
"Level: " . $_POST['all'] . "\r\n" .
"Days: " . $_POST['sunday'] . "\r\n" .
"Days: " . $_POST['monday'] . "\r\n" .
"Days: " . $_POST['tuesday'] . "\r\n" .
"Days: " . $_POST['wednesday'] . "\r\n" .
"Days: " . $_POST['thursday'] . "\r\n" .
"Days: " . $_POST['friday'] . "\r\n" .
"Days: " . $_POST['saturday'] . "\r\n" .
"Time: " . $_POST['time'] . "\r\n" .
"Info: " . $_POST['info'] . "\r\n" . "\r\n" .

$from = $_POST['email'];
$headers = "From: $from" . "\r\n";
mail($to,$subject,$message,$headers);
?>


 

Link to comment
Share on other sites

Another thought - I briefly tested the form and upon hitting submit, I get a Page not Found. What are your form settings as to what is to happen when someone submits? Usually, it'll be a 'Thank You' or 'Your form has been submitted' or something like that. Is that particular file missing?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...