Re: Ouput HTML w/PHP
| From: | Duncan Hill | Date: | Thu, 30 Jun 2005 13:00:43 +0000 |
| Subject: | Re: Ouput HTML w/PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217885@lists.php.net to get a copy of this message | ||
On Thursday 30 June 2005 13:50, Rick Emery typed:
> the validator doesn't parse the PHP to get the HTML output (which is
> why I wonder if I'm not better writing the HTML and sticking PHP where
> it's needed). Is there a way for me to maybe use the PHP tidy functions
> on the string containing the HTML ouput to validate it?
When I do this, I browse each page, doing File > Save. Then using the form
upload of the W3C validator, validate each page. Since I use templates,
fixing each template tends to fix lots of other pages.
--
My mind not only wanders, it sometimes leaves completely.