PHP is not text markup, it is a kind of programming language. You can't just
validate code for "correctness", only for valid syntax. It may still contain
bugs. The syntax is checked by the parser, which is invoked when you run
your script.

Regarding HTML-output from your script, you can make sure that it is valid
using HTML templates. Validate the templates and make sure that your script
does not insert invalid content into it.
Use htmlentities() when in doubt.

"Beauford.2002" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Is there a code validater for HTML/PHP.  I have one for just HTML, but
once
> you introduce PHP it doesn't work.
>
> TIA
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to