Top-posting. Chris, you're on the wrong list. Please send messages like this to php-general@xxxxxxxxxxxxx, and subscribe[1] to that list to follow along. This QA list is for the PHP Quality-Assurance Team. 1: http://php.net/mailinglists - or - php-general-subscribe@xxxxxxxxxxxxx On Sun, Feb 1, 2009 at 14:08, Chris Ives <chris@xxxxxxx> wrote: > > What is wrong with this code? > > > > $x_Message = $x_fname." ".$x_lname." ".$_practice." just registered for > ".$x_nevent."Method of payment ".$x_payment." Email address is".$x_email." > Telephone number".$x_tele. "Question is ".$x_qanda."; > > > > $message = $x_Message; > > $from = $x_email; > > $to = "ncives@xxxxxxxxx"; > > $subject = "Panorama Registration"; > > $headers = "From: $from"; > > /* Now we are ready to send the email so we call php's mail() function > > with the appropriate variables from above included in the brackets */ > > mail($to,$subject,$message,$headers); > > > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > > -- </Daniel P. Brown> daniel.brown@xxxxxxxxxxxx || danbrown@xxxxxxx http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php