Re: opening php file error

> I having trouble with Amaya. I have looked at the lists and FAQ and my
> question is not quite answered there (as far as I can tell).
> 
> We use a combination of HTML and PHP pages on our website. We want to know
> whether we can edit *.php files with Amaya. When I try to open them I get a
> message which reads: "Not Well-Formed XML document - Reload as HTML or show
> Parsing errors?" If I load as HTML then my php coding is stripped out. If I
> show errors then I cannot see anything in the WYSIWYG window, but can edit
> the code. Do I have errors in my php files, which if corrected would enable
> me to open them in Amaya, or can't it handle PHP yet?

Yes, it's because you declared your file as a XHTML document and in that
case you have to conform to XML rules.
The solution could be to declare your document as a simple HTML document.

> 
> Richard Davis 
> Communications Advisor and Webmaster
> Presbyterian Church of Aotearoa New Zealand
> PO Box 9049, Wellington, Aotearoa New Zealand 
> Phone: +64-4-381 8285  Fax: +64-4-801 6001 
> http://www.presbyterian.org.nz/
> 

Received on Tuesday, 13 August 2002 11:28:04 UTC