Parsing problem
am 31.07.2004 05:27:41 von Keith McIlvride
I am very new to PHP. The first line of my php file is "
encoding="iso-8859-1"?>" This page is straight out of a Dreamweaver sample
file.
When the page is parsed I get this error "Parse error: parse error,
unexpected T_STRING in c:\Inetpub\wwwroot\TestPHP\comments-view.php on line
1"
Can anyone help.
Keith
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Parsing problem
am 31.07.2004 06:22:46 von Justin Patrin
On Sat, 31 Jul 2004 13:27:41 +1000, Keith McIlvride
wrote:
> I am very new to PHP. The first line of my php file is "
> encoding="iso-8859-1"?>" This page is straight out of a Dreamweaver sample
> file.
> When the page is parsed I get this error "Parse error: parse error,
> unexpected T_STRING in c:\Inetpub\wwwroot\TestPHP\comments-view.php on line
> 1"
>
> Can anyone help.
>
Turn off short_open_tag in your php.ini.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Parsing problem
am 31.07.2004 06:27:18 von Keith McIlvride
Thank you Justin that worked fine.
Regards, Keith
"Keith McIlvride" wrote in message
news:20040731033251.43381.qmail@pb1.pair.com...
> I am very new to PHP. The first line of my php file is "
version="1.0"
> encoding="iso-8859-1"?>" This page is straight out of a Dreamweaver sample
> file.
> When the page is parsed I get this error "Parse error: parse error,
> unexpected T_STRING in c:\Inetpub\wwwroot\TestPHP\comments-view.php on
line
> 1"
>
> Can anyone help.
>
> Keith
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php