|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: |
<?php
if ($_POST["email"]<>'') {
$ToEmail = 'emailaddress';
$EmailSubject = 'Site contact form ';
$mailheader = "From: ".$_POST["email"]."\r\n";
$mailheader .= "Reply-To: ".$_POST["email"]."\r\n";
$mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n";
$MESSAGE_BODY = "First Name: ".$_POST["name"]."<br>";
$MESSAGE_BODY .= "Last Name: ".$_POST["name2"]."<br>";
$MESSAGE_BODY .= "Email: ".$_POST["email"]."<br>";
$MESSAGE_BODY .= "Description: ".nl2br($_POST["description"])."<br>";
$MESSAGE_BODY .= "Position: ".$_POST["position"]."<br>";
$MESSAGE_BODY .= "Job Category: "(.nl2br$_POST["jobcategory"])"<br>";
mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure");
?>
Your message was sent
<?php
} else {
?>
<form action="test.php" method="post">
<table width="400" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="29%" class="bodytext">First Name:</td>
<td width="71%"><input name="name" type="text" id="name" size="32"></td>
</tr>
<tr>
<td width="29%" class="bodytext">Last Name:</td>
<td width="71%"><input name="name2" type="text" id="name" size="32"></td>
</tr>
<tr>
<td class="bodytext">Email address:</td>
<td><input name="email" type="text" id="email" size="32"></td>
</tr>
<tr>
<td width="29%" class="bodytext">Position:</td>
<td width="71%"><input name="position" type="text" id="name" size="32"></td>
</tr>
<tr valign="top">
<td><font face="Verdana" size="2" color="#000000">Category</font></td>
<td>
<select name="jobcategory" id="jobcategory">
<option value="0">Please Select</option>
<option value="1">Purchases</option>
<option value="2">Phones</option>
<option value="3">Email</option>
</select><br /><br/>
</tr>
</table>
<tr>
<td class="bodytext">Description:</td>
<td><textarea name="description" cols="45" rows="6" id="comment" class="bodytext"></textarea></td>
</tr>
<tr>
<td class="bodytext"> </td>
<td align="left" valign="top"><input type="submit" name="Submit" value="Send"> <input type="reset" class="btn" value=" Reset form " name="Clear"></td></td>
</tr>
</form>
<?php
};
?>
</table>
</form>
<?php
};
?>
|
Advertisement
| Hall of Fame |