~~~~~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.";
~~~~~/CODE~~~~~~
Recheck your code for syntax error. Appears you have one to few/many
quotes (").
Good Luck
David
>On Sun, Feb 1, 2009 at 14:08, Chris Ives <[email protected]> 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 = "[email protected]";
>
> $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>
[email protected] || [email protected] 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
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.10.16/1928 - Release Date:
1/31/2009 8:03 PM
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.552 / Virus Database: 270.10.16/1928 - Release Date:
1/31/2009 8:03 PM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php