Posted by Richard on 12/06/07 18:33
"JP" <jpsebasti@gmail.com> wrote in message
news:f9c03885-dfe5-4632-a260-9203a07176cf@w34g2000hsg.googlegroups.com...
> Anyone see a problem with this code?
>
> <?php
> $login_error=<<<EOL
> <html>
> <head><title>Database Login Error</title></head>
> <body>
> <b>Database Login Error<br><br></b>
> </body>
> </html>
> EOL;
> echo "$login_error";
> ?>
>
> When I attempt to run it at the command line
> C:\ php t.php
>
> I get the following error:
> PHP Parse error: syntax error, unexpected $end in C:\Sebastian\pbuuc
> \auction\t.php on line 12
Which of the lines is line 12?
R.
Navigation:
[Reply to this message]
|