...

View Full Version : My mail function.



maikelv
12-28-2007, 11:35 PM
Hi there,

I have following function :

mail($mail, "Inschrijving op kotfeestkalender", "Er heeft zich iemand ingeschreven voor jouw feestje $message",$headers);


The variables :

$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 :)

Fumigator
12-28-2007, 11:47 PM
$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)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum