HTML form

Discussion in 'Java Script/AJAX' started by edmond, Sep 1, 2007.

Remove these ads by signing in
Remove these ads by signing in
Thread Status:
Not open for further replies.
  1. edmond New Member

    Member Since:
    Aug 31, 2007
    Message Count:
    85
    Likes Received:
    0
    Hi,

    I've been searching and have had no luck in finding information or help on how to do this. I have a website that contains a nice HTML form to capture information. When the submit button is clicked, I need that information send to 2 people; one is me on 'CC', the other is someone in a list of 30 people.
    Basically, everytime the cubmit button is clicked, it needs to send that information to me and the next person in the list (out of 30).
    Apparently it's not hard...but I don't know JS. Heck, i don't even know if you do it in JS. Any help?
    Thanks
  2. morris New Member

    Member Since:
    Aug 31, 2007
    Message Count:
    65
    Likes Received:
    0
    This is not a js problem its a php one. You need to track the last person and then from that get the next person in the list.
    You could use a text file to store the people's names and then another to store the current recipient's name. When you open the files you get the current name, open the people file and find the next name, update the current file with the new name and send the emails...
Thread Status:
Not open for further replies.

Share This Page