Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2007
    Posts
    36
    Thanks
    2
    Thanked 0 Times in 0 Posts

    My mail function.

    Hi there,

    I have following function :
    PHP Code:
    mail($mail"Inschrijving op kotfeestkalender""Er heeft zich iemand ingeschreven voor jouw feestje $message",$headers); 
    The variables :
    PHP Code:
    $mail "SELECT email FROM taak0708_persoon INNER JOIN taak0708_feestje ON login = organisator WHERE \"{$_GET['id']}\" = id";
    $message "SELECT email FROM taak0708_feestje INNER JOIN taak0708_persoon ON login = organisator WHERE \"{$_GET['id']}\" = id";
    $headers"From: Kotfeestkalender <noreply@kotfeest.be>\n";
    $headers.= "Reply-To: Kotfeest <noreply@kotfeest.be>\n"
    Now, the problem is, it doesn't send the mail. It doesn't give any error messages either.

    Anyone able to help me ?

    thanks alot

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    PHP Code:
    $mail "SELECT email FROM taak0708_persoon INNER JOIN taak0708_feestje ON login = organisator WHERE \"{$_GET['id']}\" = id"
    That doesn't retrieve any data.... you need to go through a tutorial on how to use MySQL with PHP. (Google it)


  •  

    Posting Permissions

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