i am trying to make a form for seminar registration and then when the form info is mailed to the user and to the webmaster. this is what i have so far.
seminar.php3
<HTML>
<HEAD>
<TITLE>Form</TITLE>
</HEAD>
<BODY>
<FORM CLASS="form_style"
METHOD = POST ENCTYPE="text/plain"
ACTION="mail.php3"
STYLE="font-style:italic"
NAME = "SeminarForm"
onsubmit ="return form_validate(document.SeminarForm)">
<INPUT TYPE = "hidden" NAME=from_type VALUE="seminar registration">
<P>
<FIELDSET>
<B><LEGEND>Seminar Registration Form</LEGEND></B>
<TABLE CLASS="table_style" WIDTH=100%>
<TR>
<TD>Date:</TD>
<TD><SELECT NAME ="event_date">
<OPTION VALUE="Thursday, February 27, Southfield">Thursday, February 27, Southfield
<OPTION VALUE="Thursday, March 6th, Lansing">Thursday, March 6th, Lansing
<OPTION VALUE="Thursday, March 20th, Farmington Hills">Thursday, March 20th, Farmington Hills
<OPTION VALUE="Call me to arrange a demonstration">Call me to arrange a demonstration
</SELECT> </TD></TR>
<!--
<TR>
<TD>Date:</TD>
<TD> <INPUT TYPE = "text" NAME = "event_date"></TD>
</TR>
-->
<TR>
<TD>Name:</TD>
<TD> <INPUT TYPE = "text" NAME = "name"></TD>
</TR>
<TR>
<TD>Company:</TD>
<TD><INPUT TYPE = "text" NAME = "company" SIZE =40></TD>
</TR>
<TR>
<TD>Address:</TD>
<TD><INPUT TYPE = "text" NAME = "address" ></TD>
</TR>
<TR>
<TD>City:</TD>
<TD><INPUT TYPE = "text" NAME = "city" SIZE = 15></TD>
</TR>
<TR>
<TD>State:</TD>
<TD><INPUT TYPE = "text" NAME = "state" SIZE = 2 VALUE = MI></TD>
</TR>
<TR>
<TD>ZIP code:</TD>
<TD> <INPUT TYPE = "text" NAME = "zip_code" SIZE = 8></TD>
</TR>
<TR>
<TD>Telephone:</TD>
<TD> <INPUT TYPE = "text" NAME = "phone" SIZE=15></TD>
</TR>
<TR>
<TD>Fax:</TD>
<TD><INPUT TYPE = "text" NAME = "fax"></TD>
</TR>
<TR>
<TD>Email:</TD>
<TD><INPUT TYPE = "text" NAME = "email"></TD>
</TR>
<TR>
<TD></TD>
<TD><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Please press Send button once and close the form.<br>If you have any trouble with this form call (248) 399-3348<br>
or <a href="mailto:tracy@parch.com">email</a> </font>
<p></p>
</TD>
</TR>
<TR>
<TD></TD>
<TD><INPUT TYPE="submit" VALUE="Register" ></TD>
</TR>
</TABLE>
<P>
</FIELDSET>
</FORM>
</BODY>
</HTML>
then in mail.php3
<?php
if(isset($POST['name']) && $POST['name'] != ''){
echo "set" ;
}
else{
echo "not set";
}
?>
now, i know this is not the code to email the form data but i have it here because it is not even showing a value for $_POST['name'].
Any ideas?
thanks