hey, i have a first page where they put like, comments or something, then they click submit to sendmail.php, im using the mail () and i know how to send it to people, but how do i get the comments into the message body????
ive tried at the top of my script
$comments = $REQUEST['comments'];
$comments = $POST['comments'];
$comments = $_GET['comments'];
then in my mail () code its like this
mail
( "xpunkgox@hotmail.com", "BLAHBLAH", "$comments", "xpunkgox@hotmail.com";
when i click submit on the fill-out page it says this..
Parse error: parse error in /data/members/free/tripod/uk/p/u/n/punkgo/htdocs/sendmail.php on line 6
whut am i doin wrong, and how can i get it to work???