Click to See Complete Forum and Search --> : Tag Closer if not Closed Already


Bonner
02-22-2004, 11:32 PM
I have spent the last 7 days trying to figure out how to do this.

I will cut to the chase by simply saying, does anyone know a script that checks to see if a HTML tag has been closed and if it has not been closed the PHP automatically closes the tag.

JavaScript is not an option here.

This is a bit like what forums use but I want to use HTML tags rather than [br /] tags.

crh3675
02-23-2004, 12:55 PM
HTML Tidy is a nice app that can do that for you. You will need it installed on your server to access the executable

http://tidy.sourceforge.net/

Bonner
02-23-2004, 04:03 PM
Sorry I forgot to mention my hosts are stingu in installing apps. They gave me a hard time when I asked for XSLT_CREATE support but I still did not win.

Bonner
03-18-2004, 01:51 PM
Cheers for the help!