There is a dot at the end which is wrong :
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n.
$cam. \r\n. $quote.;
^
see this??
it should be like this :
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n.
$cam. \r\n. $quote;
Regards,
Kunal Jhunjhunwala
- Original
]
Sent: Monday, September 03, 2001 7:00 AM
Subject: Re: [PHP] I dont see whats wrong!
There is a dot at the end which is wrong :
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n.
$cam. \r\n. $quote.;
^
see this??
it should be like this :
$message = $alias. \r\n.$name. \r\n
Try removing the last period(.) after $quote.
Also, try this method:
$nl = \r\n;
$message = $alias$nl$name$email$...so on and so forth.
Come to think of it, I think PHP has a constant for \r\.
I think its NL or something like that, I can't remember. Look in the
manual pages for some
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 4:13 PM
Subject: Re: [PHP] I dont see whats wrong!
Try removing the last period(.) after $quote.
Also, try this method:
$nl = \r\n;
$message = $alias$nl$name$email$...so on and so forth.
Come to think of it, I
So sprach »Kyle Smith« am 2001-09-03 um 14:50:49 -0700 :
i get this error message
Parse error: parse error in
/web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php on line 53
for
$message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam.
\r\n. $quote.;
After the $quote,
So sprach »Andy Woolley« am 2001-09-03 um 16:37:08 +0100 :
Might not work in all cases though but it's certainly easier to read.
Also easy to read:
$msg = array(
$foo,
$bar,
$blah,
$blub
);
echo implode(\r\n, $msg);
Alexander Skwar
--
How to quote:
6 matches
Mail list logo