Reply to Re: Tool to validate HTML code with PHP tags?

Your name:

Reply:


Posted by webrod on 04/27/07 11:51

> As Alvaro said -http://validator.w3.org.

No, this validates the output (ok you could provide the php file as an
input).
And as I said I would like the tool to do the modification itself.
Like the great TIDY tool (but it removes php code!!).

> How you generate the html (and yes, you are using PHP to generate HTML -
> the link destination in the href is part of html) is unimportant. The
> result is html.

Of course the final result is HTML ;-)
If you consider the output, obviously this is HTML+CSS+Javascript
But if you consider the INPUT, there is 2 ways to build a php page.
How to say.... They are 2 families of developpers ;-)
The first family will ask PHP to generate the HTML code (HTML within
php tag)
The second family will insert PHP tag within HTML tag.
And believe me, this is not the same thing, even if, obviously, the
output is exactly the same HTML.
(I belong to the second family)

Any other idea to validate my templates files which contains PHP code
within HTML tags?

Rod

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация