Jump to content

mytdred

Members
  • Posts

    4
  • Joined

  • Last visited

mytdred's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sorry but I'm at a lost I built the site in dreamweaver and I thought divs were what they were called
  2. Those are the div's in the html code
  3. Sorry but I don't follow. Here is the page http://mcfunkband.com/BookingInfo.html thanks for looking.
  4. Hi guys I'm new to this. I tried to post this yesterday,thought it posted but don't see it today. this is my problem: This is my first try at php.I have a contact form with: First Name, Last Name, Email, Comments, a checkbox for newsletter, and a couple of buttons to reset and to submit. It works but does not send the the comment section or the or the check box. Being my first time working with php I'm stuck, and the band is really needing me to get this done. Any help would be greatly appreciated! Thank you! I did this with dreamweaver. Thanks again! Code Below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Comments</title> <style type="text/css"> <!-- body,td,th { color: #FFFFFF; } body { background-color: #000000; background-image: url(/mcfunkband/public_html/images/aa_stars.jpg); } --> </style></head> <body> <?php $fname = $_POST['fname']; $lname = $_POST['lname']; $email = $_POST['email']; $comments = $_POST['comments']; $newsletter = $_POST['newsletter']; //Sending Email to form owner $header = "From: $email\n" . "Reply-To: $email\n"; $subject = "Submission From My Form"; $email_to = "***@****.com"; $message = "name: $fname . $lname\n" . "email: $email\n"; mail($email_to, $subject ,$message ,$header ) ; ?> _______________________________________________________________________________________________ html: _______________________________________________________________________________________________ <form id="form1" name="form1" method="post" action="result.php"> <table width="100%" border="5"> <tr> <td><div align="right"> <label for="fname">First Name:</label> </div></td> <td><div align="left"> <input type="text" name="fname" id="fname" /> </div></td> </tr> <tr> <td><div align="right"> <label for="lname">Last Name:</label> </div></td> <td><div align="left"> <input name="lname" type="text" id="lname" maxlength="25" /> </div></td> </tr> <tr> <td><div align="right"> <label for="email">Emai:l</label> </div></td> <td><div align="left"> <input type="text" name="email" id="email" /> </div></td> </tr> <tr> <td><div align="right"></div></td> <td><div align="left"></div></td> </tr> <tr>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.