RE: Re: [PHP-QA] problem code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	~~~~~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 <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


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux