Re: Parse error what's this, what to do?
| From: | sven | Date: | Fri, 20 Jun 2003 14:19:34 +0000 |
| Subject: | Re: Parse error what's this, what to do? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20446@lists.php.net to get a copy of this message | ||
that codepart isn't very useful.
look around line 129, maybe a line above a command isn't correctly
terminated by semicolon. could be, that your php-termination ?> before
<html> isn't recognized as it is interpreted as depending to stings from
lines above? maybe some brackets of conditions or functions do not
correspond correctly?
do you use an editor with syntax-highlighting? than the problem should be
found soon. if not, send some lines of code before line 129.
ciao SVEN
"Alejandro C. Garrammone" <agarrammone@afip.gov.ar> schrieb im Newsbeitrag
news:002301c33733$ac703380$7933140a@afip.gov.ar...
> Ildiko, every time you want to use php code you must start with a "<?".
For
> example, if you want to write some code in php you must do:
> <?
> [Code]
> ?>
> so, here you want to embeded html code and then you want to write another
> part of the code so it's look like this:
> <?
> [Code]
> ?>
> <HTML>
> [Html Code]
> </HTML>
> <?
> [code]
> ?>
>
> Hope this helps...
>
> But it isn't the answer...please post you code!!!!!!
>
> ----- Original Message -----
> From: "Ildiko Nyari" <ildiko.nyari@earthlink.net>
> To: <php-windows@lists.php.net>
> Sent: Thursday, June 19, 2003 9:43 PM
> Subject: [PHP-WIN] Parse error what's this, what to do?
>
>
> Hello
> Parse error: parse error, unexpected '<' in C:\Program Files\Apache
> Group\Apache2\htdocs\advanced3.php on line 129
>
> what's this?
> I always get this error when I want to display the php files on the web,
> so can't.
> What do I do wrong?
>
> thanks,
> ildiko
>