Jump to content


Photo

contact form


  • Please log in to reply
1 reply to this topic

#1 evropa

evropa
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 06 November 2005 - 07:13 PM

i created this contact form, but i need to include the actual php code. how could i go on about doing it?

i would like the user to select a name from the drop down menu and have it sent to the specified email.

<td width="484" height="466" valign="top"><form action="" method="post" name="form1" class="formq" id="form1">
Please use the contact form below to reach any of Liberty High Schools staff members. All fields should be filled in to the best of your knowledge.<br />
<br />
(<span class="req">*</span>)=Required Fields<br />
<br />
First name <span class="req">*</span> <br />
<input name="firstname" type="text" class="input" id="firstname" size="35" maxlength="20" />
<br />
<br />
Last Name<span class="req"> *</span><br />
<input name="lastname" type="text" class="input" id="lastname" size="35" maxlength="20" />
<br />
<br />
Email Address <span class="req">*</span><br />
<input name="emailaddress" type="text" class="input" id="emailaddress" size="35" maxlength="20" />
<br />
<br />
Please select a staff members name below<br />
<select name="staff" class="input" id="staff">
<option value="none">&lt;Select&gt;</option>
<option value="WKA562@interact.ccsd.net">Wendy, Abney</option>
<option value="RAA540@interact.ccsd.net">Roxanne, Albertson</option>
<option value="XSA565@interact.ccsd.net">Xavier, Antheaume</option>
<option value="eaaslin@interact.ccsd.net">Elicia, Aslin</option>
<option value="HCA565@interact.ccsd.net">Harmony, Ayala</option>
<option value="WMB565@interact.ccsd.net">Wanda, Babcock</option>
<option value="NLBakko@interact.ccsd.net">Nicki, Bakko-Toliver</option>
</select>
<span class="req"> *</span><br />
<br />
Comments <span class="req">*</span><br />
<textarea name="comments" cols="35" rows="4" class="input" id="comments"></textarea>
<br />
<br />
<input name="submit" type="image" id="submit" value="Submit" src="images/submit2.png" />
&nbsp;
<input name="reset" type="image" id="reset" value="Submit" src="images/reset2.PNG" />
<br />
</form></td>

#2 evropa

evropa
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 07 November 2005 - 06:54 AM

what happend to the other posts;\




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users