Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Trying to add e-mail signup form, no idea how to write the php.
Old 06-03-2010, 01:42 PM Trying to add e-mail signup form, no idea how to write the php.
Junior Talker

Posts: 1
Trades: 0
Hi guys, I'm looking for a little help here. I'm trying to create my first website and I want to add a form to collect e-mails. I found a good guide that explained the html part and I think I have that down. Here's basically what I'm going to use:

Code:
    <FORM ACTION="formmail.php" METHOD="POST">

    Name: <INPUT TYPE="TEXT" NAME="Name" VALUE="" SIZE="25" MAXLENGTH="50"> <BR>

    Email: <INPUT TYPE="TEXT" NAME="Email" VALUE="" SIZE="25" MAXLENGTH="50"><BR>

    <INPUT TYPE="SUBMIT" NAME="submit" VALUE="Sign Me Up!">

    </FORM>
After that I'm pretty much clueless since I don't know a thing about php. All I know is I want to add a sign up and I want to use it to automatically collect e-mails that I can efficiently use for mass mailings. Any help is appreciated.
rjehollywood is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-03-2010, 09:10 PM Re: Trying to add e-mail signup form, no idea how to write the php.
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
I have a tutorial on the basics here, if you want to take a look:

http://www.teratask.com/index.php?pa...-to-newsletter
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 06-03-2010, 10:10 PM Re: Trying to add e-mail signup form, no idea how to write the php.
Marik's Avatar
Skilled Talker

Posts: 99
Trades: 0
Even though it's not a necessity (and slightly off topic here), it's considered a best practice to write all your HTML in lower case and also to add a trailing slash to your self enclosing tags like:

HTML Code:
<br />

and 

<input type="text" name="first_name" />
As for script help try this:

For basic email form: http://www.youtube.com/watch?v=DpdqLCMo4Hw

For mailing list: http://www.youtube.com/watch?v=eUZfjyW3MqA

Last edited by Marik; 06-03-2010 at 10:13 PM..
Marik is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Trying to add e-mail signup form, no idea how to write the php.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11421 seconds with 12 queries