[MySQL/PHP]Disabling HTML

I’m programming a forum in PHP and MySQL. What if I don’t want to allow HTML bold tags in the posts or links in the titles? When someone tries to use these kind of HTML, I want to have the post literally write out the tags instead of have them in action.