--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > You don't want to do matching like you've shown, though. If I put a <b> on > my page with no </b>, then it's going to make everything on the entire page > following my post bold.
Well, my example was simplified. If the user's data is contained in a table cell, they would only screw up the formatting of their own post. For tags that you really need to make sure are closed, you can check for that prior to making any replacements. I still fail to see how BB code helps in any way, since you have to make these same considerations. But, like I said, maybe I'm missing something. :-) Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php