Jump to content


Need HTML Help!


4 replies to this topic

#1 365

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 03 December 2006 - 01:04 PM

I'm creating a magazine for my website and I have thought of a neat way to get members to subscribe. I know i'm around the right lines of what I want. This is what I have come up with so far:
<form action="form_action.asp"
method="get">
Username:
<input type="text" name="fname" value="Mickey" />
<br />
E-mail Address:
<input type="text" name="fname" value="Mickey" />
<br />
<input type="submit" value="Submit" />

</form>

<p>
If you click the "Submit" button, you will be subscribed to the monthly magazine.
</p>

But what I really need is a box ,that, when a member of my forum types in his username and e-mail address, I will get an email of this information.

For example...

If a user types 'Mickey' into the username field and mickey@emailprovider.net into the email field and hits submit... I will get an email telling me that the username is 'Mickey' and the email is 'mickey@emailprovider.net'

The message should be something like this:

This user has subscribed to the magazine:

Username: Mickey
E-mail: mickey@emailprovider.net

-----------------------

Can someone generate a code for me that does this and tell me where I need to change it...


~ Thanks

#2 Mark

    Young Padawan

  • Members
  • Pip
  • 113 posts

Posted 03 December 2006 - 03:09 PM

I'm pretty sure this is in the wrong section, but where is your from_action.asp? We need to see that page as well.

#3 squr3l

    Jedi In Training

  • Members
  • PipPip
  • 479 posts
  • Location:California
  • Interests:GFX, SFX, IT Specialist

Posted 03 December 2006 - 03:39 PM

i know there are tutorials for this around here, gimme a sec and ill pull one up

http://www.tutorialt...p_feedback_form

#4 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 03 December 2006 - 05:35 PM

squr3l, he's using ASP, so that tutorial might not help much. I would suggest going through the asp tutorial section, this is a frequently asked question.

p.s. Moved to proper section.

#5 influct

    Young Padawan

  • Members
  • Pip
  • 63 posts

Posted 07 December 2006 - 07:01 AM

some quick advice, wouldn't it be better to submit this info to a database and then set up your program so it emails everyone in the db instead of doing it manually?:S





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users