Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar

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:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 14 hours 39 minutes

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar

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, you've got a . - remove this, and it might work.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 14 hours 38 minutes

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Andy Woolley

You could also perhaps try this.

$message = "
$alias
$name
$email
$site
$cam
$quote
";

Might not work in all cases though but it's certainly easier to read.

It all very much depends on personal preference.

Andy.

- Original Message -
From: "John Monfort" <[EMAIL PROTECTED]>
To: "Kyle Smith" <[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 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 clues...hopefully, someone on here remember it.
>
>
>  I hope that helped.
>
>
>  -John
>
>
> On Mon, 3 Sep 2001, Kyle Smith wrote:
>
> > 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.;
> >
> > i honestly dont see whats wrong!
> >
> > -lk6-
> > http://www.StupeedStudios.f2s.com
> > Home of the burning lego man!
> >
> > ICQ: 115852509
> > MSN: [EMAIL PROTECTED]
> > AIM: legokiller666
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] I dont see whats wrong!

2001-09-03 Thread John Monfort



 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 clues...hopefully, someone on here remember it.


 I hope that helped.


 -John


On Mon, 3 Sep 2001, Kyle Smith wrote:

> 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.;
>
> i honestly dont see whats wrong!
>
> -lk6-
> http://www.StupeedStudios.f2s.com
> Home of the burning lego man!
>
> ICQ: 115852509
> MSN: [EMAIL PROTECTED]
> AIM: legokiller666
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Kyle Smith

haha, it works, thanks

1 single dot can screw up a script phew!


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666


- Original Message - 
From: "Kunal Jhunjhunwala" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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". $email. "\r\n". $site. "\r\n".
> $cam. "\r\n". $quote;
> Regards,
> Kunal Jhunjhunwala
> ----- Original Message -
> From: "Kyle Smith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 04, 2001 3:20 AM
> Subject: [PHP] I dont see whats wrong!
> 
> 
> 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.;
> 
> i honestly dont see whats wrong!
> 
> -lk6-
> http://www.StupeedStudios.f2s.com
> Home of the burning lego man!
> 
> ICQ: 115852509
> MSN: [EMAIL PROTECTED]
> AIM: legokiller666
> 
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Kunal Jhunjhunwala

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 Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 3:20 AM
Subject: [PHP] I dont see whats wrong!


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.;

i honestly dont see whats wrong!

-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] I dont see whats wrong!

2001-09-03 Thread Kyle Smith

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.;

i honestly dont see whats wrong!

-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666