Current location: Hot Scripts Forums » Programming Languages » PHP » How can I acheive the following?


How can I acheive the following?

Reply
  #1 (permalink)  
Old 06-23-09, 01:13 PM
ralphiedee ralphiedee is offline
New Member
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How can I acheive the following?

I need a script, I would think php. It is a form of 15. textfields that each hold an email address. The form is for a web page that lets the user fill out as many emails of friends they can so if only 3 are filled it will still work. Once the user hits submit the form must generate a generic email to each of the listed emails that (the users email address referred you to whatever message in the email.

hope i'm clear

RDee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-25-09, 01:54 PM
=OTS=G-Man =OTS=G-Man is offline
Newbie Coder
 
Join Date: Jun 2009
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
sounds simple

just make the form like a normal html form and just name all the email fields the same name and add [] the end

so like

<input type="text" name="email[]" />

then in the php script you submit to, you would just loop through the $_GET['email'] array and send the email to that address
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 03:23 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.