Parse Pairs...? [resolved]
Okay, I'm currently developing my forums, and I want to create tags (like [quote] and all) because I don't want to allow people to screw with the site using HTML. I want to parse only PAIRS of tags (open and close), so that 2 close tags (say, for [quote]) won't end up shifting the tables in some odd way. I've tried this using a wacky and long method of strstr, substr, and strlen, along with some other things, but that didn't work. Just wondering if anyone knew how to do this, and if you do, I'd like you to explain, not just give me the code. Thanks.