davisninjas
05-24-2007, 11:35 AM
Hello all,
I am very new at this and am trying to convert this form into an email message that is automatically sent to an email address. I have tried to use PHP to do this and it has not worked. If someone could help me along I would be in your debt. Here is the form that I created in Front Page. Thanks in advance. :)
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>GNFL Submission Form</title>
</head>
<body>
<table border="0" width="100%" id="table3" height="218">
<tr>
<td>
<div align="center">
<center>
<table id="table4" style="border-collapse: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="690" border="0">
<tr>
<td align="middle" width="204" rowSpan="7">
<font face="Verdana">
<img height="162" src="gnfl1.gif" width="125" align="left" border="0">
</font></td>
<td width="554"> </td>
</tr>
<tr>
<td width="554"> </td>
</tr>
<tr>
<td align="middle" width="554"><font face="Verdana"><b>
<font size="5">G</font><font size="4">RIDIRON </font>
<font size="5">N</font><font size="4">ATION</font>
<font size="5">F</font><font size="4">OOTBALL </font>
<font size="5">L</font><font size="4">EAGUE<img height="58" src="gnfltrophy.gif" width="34" border="0"></font></b></font><p>
<b><font face="Verdana" size="5">S</font></b><font face="Verdana"><b><font size="4">UBMISSION</font>
<font size="5">F</font><font size="4">ORM</font></b></font></td>
</tr>
</table>
</center></div>
</td>
</tr>
</table>
<table border="0" width="100%" id="table5" height="50">
<tr>
<td>
<p align="center">** ALL CHANGES DEADLINE IS 7:00 P.M. WEDNESDAY**<br>
#1 - Defensive Playbooks and Profiles are combined.
<br>
#2 - Specific stipulations & PLAYER CHANGES for 2nd half changes Should be
listed below.<br>
#3 - ANY player movement should be detailed below.(Trades, FA requests,
roster moves, etc.)</td>
</tr>
</table>
<form method="POST" action="gnfl.php">
<p> Team <select size="1" name="Team">
<option> </option>
<option>Prichard Wolfpack</option>
<option>Myers Stampede</option>
<option>Walker Outlaws</option>
<option>Thornburg Assassins</option>
<option>Ballew Bangers</option>
<option>Culbertson Cowboys</option>
<option>Davis Ninjas</option>
<option>Von Achen Spinal Crackers</option>
<option>Young Sherlocks</option>
<option>Wegner Marauders</option>
<option>Stephenson Sabercats</option>
<option>Martz Hurling Charros</option>
<option>LaPorta T-Bones</option>
<option>Gibson Bulldawgs</option>
<option>Neddo Doom</option>
<option>Dukes Dominators</option>
<option>Forseth Rogues</option>
<option>Hansen Ridgebacks</option>
</select>
Week <select size="1" name="Week">
<option> </option>
<option>EVERY WEEK</option>
<option>Pre-Season</option>
<option>Week 1</option>
<option>Week 2</option>
<option>Week 3</option>
<option>Week 4</option>
<option>Week 5</option>
<option>Week 6</option>
<option>Week 7</option>
<option>Week 8</option>
<option>Week 9</option>
<option>Week 10</option>
<option>Week 11</option>
<option>Week 12</option>
<option>Week 13</option>
<option>Week 14</option>
<option>Play Offs</option>
</select>
Your E-Mail Address
<input type="text" name="Emailfrom" size="35"></p>
<p>1st Half Offense Playbook
<select size="1" name="OffPB1">
<option> </option>
<option>GNFL</option>
<option>WFL</option>
<option>West Coast</option>
<option>Power</option>
<option>Red Gun</option>
<option>Spread</option>
<option>Power Plus</option>
<option>Run and Shoot</option>
<option>Red Wolf</option>
</select>
1st Half Offensive
Profile
<select size="1" name="OffPR1">
<option> </option>
<option>Classic Run</option>
<option>Classic Balanced</option>
<option>Classic Pass</option>
<option>Classic Run and Shoot</option>
<option>Classic Power</option>
<option>VPNFL Run</option>
<option>VPNFL Balanced</option>
<option>VPNFL Pass</option>
<option>VPNFL Balanced / Chuck</option>
<option>VPNFL Run / Chuck</option>
<option>VPNFL Run / Heavy</option>
<option>VPNFL Run / Balanced</option>
<option>VPNFL West Coast</option>
<option>VPNFL Pass / Heavy</option>
<option>VPNFL Balanced / Dink</option>
<option>VPNFL Run / Dink</option>
<option>VPNFL Script</option>
<option>VPNFL Gambler</option>
</select>
1st Half Defense
<select size="1" name="DEF1">
<option> </option>
<option>4 - 3 Run</option>
<option>4 - 3 Pass</option>
<option>4 - 3 Man to Man Run</option>
<option>4 - 3 Man to Man Pass</option>
<option>3 - 4 / 4 - 3 Hybrid Run</option>
<option>3 - 4 / 4 - 3 Hybrid Pass</option>
<option>Buddy 4 - 6 Run</option>
<option>Buddy 4 - 6 Pass</option>
<option>Longhorn 5 - 2 Run</option>
<option>Longhorn 5 - 2 Pass</option>
</select></p>
<p>2nd Half Offense Playbook
<select size="1" name="OffPB2">
<option> </option>
<option>GNFL</option>
<option>WFL</option>
<option>West Coast</option>
<option>Power</option>
<option>Red Gun</option>
<option>Spread</option>
<option>Power Plus</option>
<option>Run and Shoot</option>
<option>Red Wolf</option>
</select>
2nd Half Offensive
Profile
<select size="1" name="OffPR2">
<option> </option>
<option>Classic Run</option>
<option>Classic Balanced</option>
<option>Classic Pass</option>
<option>Classic Run and Shoot</option>
<option>Classic Power</option>
<option>VPNFL Run</option>
<option>VPNFL Balanced</option>
<option>VPNFL Pass</option>
<option>VPNFL Balanced / Chuck</option>
<option>VPNFL Run / Chuck</option>
<option>VPNFL Run / Heavy</option>
<option>VPNFL Run / Balanced</option>
<option>VPNFL West Coast</option>
<option>VPNFL Pass / Heavy</option>
<option>VPNFL Balanced / Dink</option>
<option>VPNFL Run / Dink</option>
<option>VPNFL Script</option>
<option>VPNFL Gambler</option>
</select>
2nd Half Defense
<select size="1" name="DEF2">
<option> </option>
<option>4 - 3 Run</option>
<option>4 - 3 Pass</option>
<option>4 - 3 Man to Man Run</option>
<option>4 - 3 Man to Man Pass</option>
<option>3 - 4 / 4 - 3 Hybrid Run</option>
<option>3 - 4 / 4 - 3 Hybrid Pass</option>
<option>Buddy 4 - 6 Run</option>
<option>Buddy 4 - 6 Pass</option>
<option>Longhorn 5 - 2 Run</option>
<option>Longhorn 5 - 2 Pass</option>
</select></p>
<p>Do you want ONE or TWO Kick Returners when receiving a kick off?
<INPUT type=radio name="radiokr">ONE
<INPUT type=radio name="radiokr" CHECKED>TWO (Default)
<p>Do you want to use the "White Shoes" Punt coverage formation (chances of a blocked punt are increased, but hang time is longer)?
<INPUT type=radio name="radiows">YES
<INPUT type=radio name="radiows" CHECKED>NO (Default)
<p>2ND HALF STIPULATIONS - PLAYBOOK/PROFILE CHANGE (Please be
specific to score, weather, etc.)</p>
<p> Change #1 IF <input size="47" name="change1a"> THEN SWITCH TO
<input size="47" name="change1b"></p>
<p> Change #2 IF <input size="47" name="change2a"> THEN SWITCH TO
<input size="47" name="change2b"></p>
<p> 2ND HALF PERSONNEL STIPULATIONS AND CHANGES<br>
You may select up to 2 Player personnel changes @ half time. You may
select to substitute player's) regardless of<br>
statistical happening OR use statistics at half as a stipulation. PLEASE,
be specific as to the personnel change<br>
& the stipulation (if applies). Example: Rushing stats below 50 yards,
change HB's as follows: HB1 Jackson, HB2 <br>
Heyward, HB3 Word. OR, no stipulation. Example: At half bench HB Heyward,
making HB1 Jackson, HB2 Heyward, HB3 Word.</p>
<p> Player Change #1 <input size="132" name="PlayerChange1"></p>
<p> Player Change #2 <input size="132" name="PlayerChange2"></p>
<p> ROSTER CHANGES</p>
<p> <textarea name="RosterChanges" rows="16" cols="77"></textarea></p>
<p align="center"><input type="submit" name="submit" value="Submit"></p>
</form>
</body>
</html>
I am very new at this and am trying to convert this form into an email message that is automatically sent to an email address. I have tried to use PHP to do this and it has not worked. If someone could help me along I would be in your debt. Here is the form that I created in Front Page. Thanks in advance. :)
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>GNFL Submission Form</title>
</head>
<body>
<table border="0" width="100%" id="table3" height="218">
<tr>
<td>
<div align="center">
<center>
<table id="table4" style="border-collapse: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="690" border="0">
<tr>
<td align="middle" width="204" rowSpan="7">
<font face="Verdana">
<img height="162" src="gnfl1.gif" width="125" align="left" border="0">
</font></td>
<td width="554"> </td>
</tr>
<tr>
<td width="554"> </td>
</tr>
<tr>
<td align="middle" width="554"><font face="Verdana"><b>
<font size="5">G</font><font size="4">RIDIRON </font>
<font size="5">N</font><font size="4">ATION</font>
<font size="5">F</font><font size="4">OOTBALL </font>
<font size="5">L</font><font size="4">EAGUE<img height="58" src="gnfltrophy.gif" width="34" border="0"></font></b></font><p>
<b><font face="Verdana" size="5">S</font></b><font face="Verdana"><b><font size="4">UBMISSION</font>
<font size="5">F</font><font size="4">ORM</font></b></font></td>
</tr>
</table>
</center></div>
</td>
</tr>
</table>
<table border="0" width="100%" id="table5" height="50">
<tr>
<td>
<p align="center">** ALL CHANGES DEADLINE IS 7:00 P.M. WEDNESDAY**<br>
#1 - Defensive Playbooks and Profiles are combined.
<br>
#2 - Specific stipulations & PLAYER CHANGES for 2nd half changes Should be
listed below.<br>
#3 - ANY player movement should be detailed below.(Trades, FA requests,
roster moves, etc.)</td>
</tr>
</table>
<form method="POST" action="gnfl.php">
<p> Team <select size="1" name="Team">
<option> </option>
<option>Prichard Wolfpack</option>
<option>Myers Stampede</option>
<option>Walker Outlaws</option>
<option>Thornburg Assassins</option>
<option>Ballew Bangers</option>
<option>Culbertson Cowboys</option>
<option>Davis Ninjas</option>
<option>Von Achen Spinal Crackers</option>
<option>Young Sherlocks</option>
<option>Wegner Marauders</option>
<option>Stephenson Sabercats</option>
<option>Martz Hurling Charros</option>
<option>LaPorta T-Bones</option>
<option>Gibson Bulldawgs</option>
<option>Neddo Doom</option>
<option>Dukes Dominators</option>
<option>Forseth Rogues</option>
<option>Hansen Ridgebacks</option>
</select>
Week <select size="1" name="Week">
<option> </option>
<option>EVERY WEEK</option>
<option>Pre-Season</option>
<option>Week 1</option>
<option>Week 2</option>
<option>Week 3</option>
<option>Week 4</option>
<option>Week 5</option>
<option>Week 6</option>
<option>Week 7</option>
<option>Week 8</option>
<option>Week 9</option>
<option>Week 10</option>
<option>Week 11</option>
<option>Week 12</option>
<option>Week 13</option>
<option>Week 14</option>
<option>Play Offs</option>
</select>
Your E-Mail Address
<input type="text" name="Emailfrom" size="35"></p>
<p>1st Half Offense Playbook
<select size="1" name="OffPB1">
<option> </option>
<option>GNFL</option>
<option>WFL</option>
<option>West Coast</option>
<option>Power</option>
<option>Red Gun</option>
<option>Spread</option>
<option>Power Plus</option>
<option>Run and Shoot</option>
<option>Red Wolf</option>
</select>
1st Half Offensive
Profile
<select size="1" name="OffPR1">
<option> </option>
<option>Classic Run</option>
<option>Classic Balanced</option>
<option>Classic Pass</option>
<option>Classic Run and Shoot</option>
<option>Classic Power</option>
<option>VPNFL Run</option>
<option>VPNFL Balanced</option>
<option>VPNFL Pass</option>
<option>VPNFL Balanced / Chuck</option>
<option>VPNFL Run / Chuck</option>
<option>VPNFL Run / Heavy</option>
<option>VPNFL Run / Balanced</option>
<option>VPNFL West Coast</option>
<option>VPNFL Pass / Heavy</option>
<option>VPNFL Balanced / Dink</option>
<option>VPNFL Run / Dink</option>
<option>VPNFL Script</option>
<option>VPNFL Gambler</option>
</select>
1st Half Defense
<select size="1" name="DEF1">
<option> </option>
<option>4 - 3 Run</option>
<option>4 - 3 Pass</option>
<option>4 - 3 Man to Man Run</option>
<option>4 - 3 Man to Man Pass</option>
<option>3 - 4 / 4 - 3 Hybrid Run</option>
<option>3 - 4 / 4 - 3 Hybrid Pass</option>
<option>Buddy 4 - 6 Run</option>
<option>Buddy 4 - 6 Pass</option>
<option>Longhorn 5 - 2 Run</option>
<option>Longhorn 5 - 2 Pass</option>
</select></p>
<p>2nd Half Offense Playbook
<select size="1" name="OffPB2">
<option> </option>
<option>GNFL</option>
<option>WFL</option>
<option>West Coast</option>
<option>Power</option>
<option>Red Gun</option>
<option>Spread</option>
<option>Power Plus</option>
<option>Run and Shoot</option>
<option>Red Wolf</option>
</select>
2nd Half Offensive
Profile
<select size="1" name="OffPR2">
<option> </option>
<option>Classic Run</option>
<option>Classic Balanced</option>
<option>Classic Pass</option>
<option>Classic Run and Shoot</option>
<option>Classic Power</option>
<option>VPNFL Run</option>
<option>VPNFL Balanced</option>
<option>VPNFL Pass</option>
<option>VPNFL Balanced / Chuck</option>
<option>VPNFL Run / Chuck</option>
<option>VPNFL Run / Heavy</option>
<option>VPNFL Run / Balanced</option>
<option>VPNFL West Coast</option>
<option>VPNFL Pass / Heavy</option>
<option>VPNFL Balanced / Dink</option>
<option>VPNFL Run / Dink</option>
<option>VPNFL Script</option>
<option>VPNFL Gambler</option>
</select>
2nd Half Defense
<select size="1" name="DEF2">
<option> </option>
<option>4 - 3 Run</option>
<option>4 - 3 Pass</option>
<option>4 - 3 Man to Man Run</option>
<option>4 - 3 Man to Man Pass</option>
<option>3 - 4 / 4 - 3 Hybrid Run</option>
<option>3 - 4 / 4 - 3 Hybrid Pass</option>
<option>Buddy 4 - 6 Run</option>
<option>Buddy 4 - 6 Pass</option>
<option>Longhorn 5 - 2 Run</option>
<option>Longhorn 5 - 2 Pass</option>
</select></p>
<p>Do you want ONE or TWO Kick Returners when receiving a kick off?
<INPUT type=radio name="radiokr">ONE
<INPUT type=radio name="radiokr" CHECKED>TWO (Default)
<p>Do you want to use the "White Shoes" Punt coverage formation (chances of a blocked punt are increased, but hang time is longer)?
<INPUT type=radio name="radiows">YES
<INPUT type=radio name="radiows" CHECKED>NO (Default)
<p>2ND HALF STIPULATIONS - PLAYBOOK/PROFILE CHANGE (Please be
specific to score, weather, etc.)</p>
<p> Change #1 IF <input size="47" name="change1a"> THEN SWITCH TO
<input size="47" name="change1b"></p>
<p> Change #2 IF <input size="47" name="change2a"> THEN SWITCH TO
<input size="47" name="change2b"></p>
<p> 2ND HALF PERSONNEL STIPULATIONS AND CHANGES<br>
You may select up to 2 Player personnel changes @ half time. You may
select to substitute player's) regardless of<br>
statistical happening OR use statistics at half as a stipulation. PLEASE,
be specific as to the personnel change<br>
& the stipulation (if applies). Example: Rushing stats below 50 yards,
change HB's as follows: HB1 Jackson, HB2 <br>
Heyward, HB3 Word. OR, no stipulation. Example: At half bench HB Heyward,
making HB1 Jackson, HB2 Heyward, HB3 Word.</p>
<p> Player Change #1 <input size="132" name="PlayerChange1"></p>
<p> Player Change #2 <input size="132" name="PlayerChange2"></p>
<p> ROSTER CHANGES</p>
<p> <textarea name="RosterChanges" rows="16" cols="77"></textarea></p>
<p align="center"><input type="submit" name="submit" value="Submit"></p>
</form>
</body>
</html>