Sending PHP Email with radios/textareas?

Bob Bobinson

New member
Hi,

I am totally new to PHP. Can someone please supply a PHP script for this. I want it to be emailed to me after the user answers the radios and textareas:

<form name="footy" method="post" action="email.php">

<abbr title="Enter your name here"><input name="Name" type="text" id="Name" onfocus="remName(this, 'Name');" onblur="chkName(this, 'Name');" value="Name"
size="12" maxlength="12" /></abbr>

*
<abbr title="Enter your margin here"><input name="Margin" type="text" id="Margin" onfocus="remName(this, 'Margin');" onblur="chkName(this, 'Margin');" value="Margin"
onKeyPress="return numbersonly(this, event)" size="12" maxlength="2" /></abbr>

<p>
Thursday March 24, 7:10pm, MCG
<input type="radio" name="Game 1" value="Carlton" onclick="SetSection1();">Carlton
<input type="radio" name="Game 1" value="Richmond" onclick="SetSection1();">Richmond
</p>

<p>
Friday March 25, 7:40pm, MCG
<input type="radio" name="Game 2" value="Geelong" onclick="SetSection2();">Geelong
<input type="radio" name="Game 2" value="St Kilda" onclick="SetSection2();">St Kilda
</p>

<p>
Saturday March 26, 2:10pm, ES
<input type="radio" name="Game 3" value="Collingwood" onclick="SetSection3();">Collingwood
<input type="radio" name="Game 3" value="Port Adelaide" onclick="SetSection3();">Port Adelaide
</p>

<p>
Saturday March 26, 7:10pm, AS
<input type="radio" name="Game 4" value="Adelaide" onclick="SetSection4();">Adelaide
<input type="radio" name="Game 4" value="Hawthorn" onclick="SetSection4();">Hawthorn
</p>

<p>
Saturday March 26, 7:10pm, G
<input type="radio" name="Game 5" value="Brisbane" onclick="SetSection5();">Brisbane
<input type="radio" name="Game 5" value="Fremantle" onclick="SetSection5();">Fremantle
</p>

<p>
Sunday March 27, 1:10pm, ES
<input type="radio" name="Game 6" value="Essendon" onclick="SetSection6();">Essendon
<input type="radio" name="Game 6" value="Western Bulldogs" onclick="SetSection6();">Western Bulldogs
</p>

<p>
Sunday March 27, 2:10pm, MCG
<input type="radio" name="Game 7" value="Melbourne" onclick="SetSection7();">Melbourne
<input type="radio" name="Game 7" value="Sydney" onclick="SetSection7();">Sydney
</p>

<p>
Sunday March 27, 4:10pm, PS
<input type="radio" name="Game 8" value="West Coast" onclick="SetSection8();">West Coast
<input type="radio" name="Game 8" value="North Melbourne" onclick="SetSection8();">North Melbourne
</p>

<p>
BYE: Gold Coast
</p>


<p><abbr title="You must add your name and margin, plus selecting one team from each game before submitting your tips" id="button">
<input name="submit" type="submit" value="Submit" disabled="disabled" /></abbr>

<abbr title="Reset your tips" id="button">
<input type="reset" value="Reset" onSubmit="redirectOutput(this);"/ ></abbr>
</p>
</form>
I'm not emailing using my Yahoo/Google account. I have a paid web host
 
Back
Top