Results 1 to 2 of 2

Thread: Email Problem?

  1. #1
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Email Problem?

    I have to do a job application form for a company in their website. i am using macromedia dreamweaver to do it. i don't know how to post after the applicant key in all the details. the applicant has to click on the send button which means the form will send to the company e-mail add.. does anyone have this kind of source code or solutions?? thanks
    Last edited by jscheuer1; 05-03-2007 at 04:58 PM. Reason: off topic

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    are you talking about sending the email? you would use the mail function

    Code:
    mail(_to_, _subject_, _message_, _headers_);


    if you are talking about being sent to a page after the email has been sent, then use
    Code:
    if(mail(mail(_to_, _subject_, _message_, _headers_)) {
      header("Location: __URL__TO__PAGE__"); //Sends to New Page
      echo "<p>TEXT</p>"; // Prints out some text
    }
    else {
      echo "<p>An Error Occured, Please Resend<p>";
    }

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •