[thelist] php & xhtml, escaping

Tom Dell'Aringa pixelmech at yahoo.com
Wed Jul 17 15:12:01 CDT 2002


Exactly, so why does the PHP manual make an issue of it? That doesn't
make any sense!

--- Mark Howells <mark at mountain.ch> wrote:
> > "The first way, <?php. . .?>, is the preferred method, as it
> allows
> > the use of PHP in XML-conformant code such as XHTML."
> >
> > Does this mean you must do <?php evertime or it won't validate -
> the
> > manual doesn't seem to go into detail about it.
>
> XHTML validation is related to the output ("result") of the PHP
> file and not
> the PHP file itself. <%%> <??> and <?php ?> all work fine
> (depending on the
> PHP configuration of your server, of course).
>
> Regards
> Mark Howells
> <http://www.mark.ac/evl/>
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !


=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com



More information about the thelist mailing list