So i figured out how to embed drop down menu option on the table feature in dreamweaver, HOWEVER, when i go to remote view to see if all fields are working the dropdown box which I labeled package is now showing up in the email. How can I get this fixed? Any ideas. Thanks!
<?php
$to = 'info@adolphhernandez.com';
$subject = 'I want to book you!';
$name = $_POST['name'];
$email = $_POST['email'];
$cell = $_POST['cell'];
$package = $_POST['package'];
$comments = $_POST['comments'];
$available = $_POST['available'];
$promo = $_POST['promo'];
$body = <<<EMAIL
Hello my name is $name,
I would like to schedule a $package I am available on $available
$comments
I can be reached at the following
Email: $email
Phone: $cell
Promo Code: $promo
Thank you,
$name
EMAIL;
$header = "From: $email";
if($_POST){
mail($to, $subject, $body, $header);
$feedback = 'Your request has been sent, please allow 24/48 hours for a response. Thank you!';
}
?>
<!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>House Of Auroboros</title>
<style type="text/css">
<!--
body {
margin: 0;
padding: 0;
background-image: url(banners/backgroundwebtemplate.jpg);
background-attachment: fixed;
background-repeat: no-repeat;
background-position: center center;
}
/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
padding: 0;
margin: 0;
font-family: "Adobe Caslon Pro";
}
h1, h2, h3, h4, h5, h6, p {
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
padding-right: 15px;
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
font-family: "Adobe Caslon Pro";
color: #666;
font-size: 10px;
font-style: italic;
line-height: normal;
font-weight: normal;
font-variant: normal;
}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
border: none;
}
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
color:#000000; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
font-family: "Adobe Caslon Pro";
font-size: 16px;
font-style: oblique;
line-height: normal;
font-weight: normal;
font-variant: normal;
}
a:visited {
color: #666666;
font-family: "Adobe Caslon Pro";
font-size: 16px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
text-decoration: blink;
font-family: "Adobe Caslon Pro";
font-size: 16px;
font-style: normal;
line-height: normal;
font-weight: bolder;
font-variant: normal;
color: #292929;
}
/* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
.container {
width: 80%;
max-width: 700px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
min-width: 650px;
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
font-family: "Adobe Caslon Pro";
font-size: 15px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
color: #333;
}
/* ~~the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo~~ */
.header {
}
/* ~~ This is the layout information. ~~
1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
*/
.content {
padding: 10px 0;
font-family: "Adobe Caslon Pro";
font-size: 15px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
color: #666;
}
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
font-family: "Adobe Caslon Pro";
font-size: 15px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
color: #666;
}
/* ~~ The footer ~~ */
.footer {
padding: 10px 0;
font-family: "Adobe Caslon Pro";
font-size: 10px;
font-style: italic;
line-height: normal;
font-weight: normal;
font-variant: normal;
color: #999;
}
/* ~~ miscellaneous float/clear classes ~~ */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
float: right;
margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
float: left;
margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}
.container .content txt {
font-family: "Adobe Caslon Pro";
font-size: 10px;
font-style: italic;
line-height: normal;
font-weight: normal;
font-variant: normal;
color: #CCC;
}
-->
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
<SCRIPT language=JavaScript>
<!-- http://www.spacegun.co.uk -->
var message = "Stealing isn't nice!!! ^_^";
function rtclickcheck(keyp){ if (navigator.appName == "Netscape" && keyp.which == 3){ alert(message); return false; }
if (navigator.appVersion.indexOf("MSIE") != -1 && event.button == 2) { alert(message); return false; } }
document.onmousedown = rtclickcheck;
function MM_popupMsg(msg) { //v1.0
alert(msg);
}
</SCRIPT>
</head>
<body>
<div class="container">
<div class="header"><!-- end .header -->
<div align="center">
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="720" height="60">
<param name="movie" value="media/greyHeaderHOA.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="11.0.0.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="media/greyHeaderHOA.swf" width="720" height="60">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="11.0.0.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
<!--menu bar starts here-->
<ul id="MenuBar1" class="MenuBarHorizontal">
<li>
<div align="center"><a href="default.html">Home</a> </div>
</li>
<li>
<div align="center"><a href="aboutme.html">About Me</a> </div>
</li>
<li>
<div align="center"><a href="#" class="MenuBarItemSubmenu">Galleries</a>
<ul>
<li>
<div align="center"><a href="#" class="MenuBarItemSubmenu">Men</a>
<ul>
<li><a href="MenStudio.html">Studio </a></li>
<li><a href="MenOutdoors.html">Outdoors</a></li>
</ul>
</div>
</li>
<li>
<div align="center"><a href="#" class="MenuBarItemSubmenu">Women</a>
<ul>
<li><a href="WomenStudio.html">Studio</a></li>
<li><a href="WomenOutdoors.html">Outdoors</a></li>
</ul>
</div>
</li>
<li>
<div align="center"><a href="Weddings.html">Wedding</a></div>
</li>
<li>
<div align="center"><a href="Family.html">Family</a></div>
</li>
<li>
<div align="center"><a href="Landscapes.html">Landscapes</a></div>
</li>
<li>
<div align="center"><a href="Events.html">Events</a></div>
</li>
<li>
<div align="center"><a href="GraphicDesigns.html">Graphic Design</a></div>
</li>
<li>
<div align="center"><a href="Webdesigns.html">Web Design</a></div>
</li>
</ul>
</div>
</li>
<li>
<div align="center"><a href="bookme.php">Book Me</a></div>
</li>
<li>
<div align="center"><a href="modelrelease.html">Model Release</a></div>
</li>
<li>
<div align="center"><a href="payment.html">Payment</a></div>
</li>
</ul>
<!--menu bare ends here-->
</div>
<div class="content">
<p align="center">
<br>
</div>
<h2 align="center">Book Me</h2>
<!--border starts here-->
<div style="width:700px; height:350px; border:6px inset grey; font-size: 9px;">
<div align="center">
<!--email form begins here-->
<br>
<form action="" method="post">
<table width="700" border="1" cellspacing="2" cellpadding="0">
<tr>
<th width="181" scope="col"><label for="name">Name:</label></th>
<th width="520" scope="col"><div align="left">
<input type="text" name="name" id="name" required="required"/>
</div></th>
</tr>
<tr>
<th scope="row"><label for="email">Email:</label></th>
<td><input type="text" name="email" id="email" required="required"/></td>
</tr>
<tr>
<th scope="row"><label for="cell">Cell:</label></th>
<td><input type="text" name="cell" id="cell" required="required"/></td>
</tr>
<tr>
<th scope="row"><label for="available">Availability:</label></th>
<td><input type="text" name="available" id="available"
required="required"/></td>
</tr>
<tr>
<th scope="row"><label for="promo">Promotion Code:</label></th>
<td><input type="text" name="promo" id="promo" /></td>
</tr>
<tr>
<th scope="row"><label for="comments">Comments:</label></th>
<td><textarea name="comments2" id="comments2" cols="45" rows="5">