- This topic is empty.
-
AuthorPosts
-
August 7, 2009 at 12:38 pm #25665
kendra69
MemberHello All,
I’m not sure if this is the right place as this isn’t php but I am doing the following form in html that when I hit submit needs to out put to an email. Right now I just have Quarterbacks but I will have Running backs etc. I get this in my email when I select 4 Quarterbacks:
Peyton+Manning=on&Philip+Rivers=on&Aaron+Rodgers=on&Kurt+Warner=on
Also, the above info. just pops up this and an email box to send to my email account and doesn’t just automatically send.
How do I make this data come automatically to my email and how do I make it more clear the output between each player position. Thanks for any help or if you can point me in the right direction.
Kendra
Here is the html:
<form method="post" action="mailto:[email protected]"> Please select 4Quarterbacks:
<table><TD> <INPUT TYPE=CHECKBOX NAME="Drew Brees">
1 Drew Brees NO</TD>
<TD><INPUT TYPE=CHECKBOX NAME="Peyton Manning">
2 Peyton Manning IND </TD>
<TD><INPUT TYPE=CHECKBOX NAME="Tom Brady">
3 Tom Brady NE </TD>
<TD><INPUT TYPE=CHECKBOX NAME="Philip Rivers">
4 Philip Rivers SD</TD>
<TD><INPUT TYPE=CHECKBOX NAME="Aaron Rodgers">
5 Aaron Rodgers GB</TD>
<TR>
<TD><INPUT TYPE=CHECKBOX NAME="Kurt Warner">6 Kurt Warner ARI</TD>
</TR>
</TABLE>
<br><br>
<input type="submit" value="Submit"> </form>August 7, 2009 at 1:19 pm #61832falkencreative
MemberUnfortunately, it isn’t as easy as specifying an email address in the action field of the form. You’ll need to use some PHP to get the form data, process it, and then send the email using PHP’s mail() command.
Chris has some screencasts:
— Creating a contact form: https://css-tricks.com/video-screencasts … tact-form/ (I’d suggest watching this one first — it’ll help you with the basics.)
— Sending html email: https://css-tricks.com/video-screencasts … tml-email/
— Using Woofoo for web forms: https://css-tricks.com/video-screencasts … web-forms/ -
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.