If I’m using a simple form to directly deliver mail to a desired email address without an email client like so:
[code=php]Thanks, <?php
@extract($_POST);
$sub=”Form feedback”;
$firstname = stripslashes($firstname);
$lastname = stripslashes($lastname);
$email = stripslashes($email);
$phone = stripslashes($phone);
$Facials = stripslashes($Facials);
$Makeovers = stripslashes($Makeovers);
mail(‘[email protected]’,$sub,”$firstnamen$lastnamen$emailn$phonen$Facialsn$Makeovers”,”From: $name <[email protected]>”);
echo stripslashes($name);
?> , we will drop you a line shortly.
The first 4 fields deliver fine, they are all text input boxes, but the Facials and Makeovers are part of a drop down select option like so:
[code=html]<tr bgcolor=”#ede5cb”>
<td width=”50%”>First service:</td>
<td align=”right”>
<select name=”AService1″ class=”form” style=”width:300px”>
<option value=””>Choose 1st Service</option>
<option value=”Facials” name=”Facials”>Facials – Signature Facial Treatments</option><option value=”Makeovers”>Makeovers – Makeup Application</option><option value=”104657″>Massage & Bodywork – Massage Treatments</option><option value=”90930″>Skin Care – Chemical & Exfoliation Treatments</option><option value=”159061″>Skin Care – Skin Care Treatments</option><option value=”90922″>Special Occasion Services – Services for the Bride</option><option value=”90923″>Special Occasion Services – Services for the Groom</option><option value=”90924″>Special Occasion Services – Bridal Party Services</option><option value=”90925″>Special Occasion Services – Grooms Party Services</option><option value=”104459″>Sunless Tanning – SunFX</option>
</select>
</td>
</tr>
I thought to change the option value to “Facials” or add the name field and than assign it “Facials” but neither seem to work…
Help please, thanks in advance fellas!