Re: Another script doesnt work!
| From: | J Smith | Date: | Tue, 04 Sep 2001 14:06:59 +0000 |
| Subject: | Re: Another script doesnt work! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65942@lists.php.net to get a copy of this message | ||
Just out of curiosity, are you going to be posting every time you have a
syntax error?
As for this error, it's likely a combination of:
1. not having either single or double quotation marks around the string
literal; or
2. If that line isn't the last line in a php block, it needs a semi-colon
at the end.
So, try...
$message = "blah!!";
J
Kyle Smith wrote:
> And this time its not because of a dot, someone please help!
>
> Parse error: parse error in
> /web/sites/197/lk6/www.stupeedstudios.f2s.com/dannys/sendform.php on line
> 22
>
> line 22 is $message = blah!!
>
> <?php
> $addresses = "dbzno1fan@hotmail.com";
> $subject = "Cam Application";
> $line = "\r\n"
> $message = $name. $line. $email. $line. $bestbritish. $line.
> $bestcharacterinbrit. $line. $bestyank. $line. $bestcharacterinyank.
> $line. $bestsketch. $line. $bestanimation. $line. $bestcomedyfilm. $line.
> $bestfilmchar. $line. $bestquiz. $line. $worstsitcom. $line. $comments; ?>
>
>
> -lk6-
> http://www.StupeedStudios.f2s.com
> Home of the burning lego man!
>
> ICQ: 115852509
> MSN: dbzno1fan@hotmail.com
> AIM: legokiller666