Is there a way to check a HTML Pages, all TAGS inside that HTML is already right and not harm full my website using php ?
i know some time user can add open tag like this <a>Stop here <a <- with out >
it make all my text below that tag not viewed by browser.
how can i check it online ? is it have a function ? also
will there return false for not valid ?
I'm sorry, I don't know of a way to check code while running. I think you just need to write working code. There might be something out there though. Check on google.
Maybe don't let your visitors use html, it's unnecessary anyway in general, and it's annoying if a visitor tries to write: 4 < 5 and he gets strange results.
then how can i using this BBcode ?
Oh yeah i remembered that phpBB using BBCode,
can i uses the phpbb function ?
then how to uses it ?
PHPBB didnt invent bbcode look for "bb class" in google or something..
Normally when you use Notepad ++ to edit your web pages, you can select the language to use so that any mistake can be followed!
For BBCode classes, I think you can check out the PECL and PEAR repositories. To validate HTML, you can use the TIDY functions. Please refer to the PHP Manual for more information.