I'd appreciate anyone's help with the following:

I'm creating a fairly simple discussion forum based in PHP with SQL holding the data.

I know there is some way to use VBcode such as [img][/img] to add more power to posts, allowing them to be formatted by the poster.

Can someone tell me how you can enable these codes in a forum, and what kind of scripts are needed.