Re: Parse error what's this, what to do?
| From: | Alejandro C. Garrammone | Date: | Fri, 20 Jun 2003 13:52:31 +0000 |
| Subject: | Re: Parse error what's this, what to do? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20443@lists.php.net to get a copy of this message | ||
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