A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 6: Plug-in 39 - BB Code

Because of the risks involved with allowing users to enter HTML via a web form, alternatives had to be invented that would offer freedom of textual formatting but without the risk of server hacking. One of the first and most popular of these systems was BB Code, which stands for Bulletin Board Code. Because it is used on web forums all over the Internet your users will be very familiar with BB Code and now, using this plug-in, you can fully support it on your website - including making URLs clickable.

The Figure shows BB Code being used to create a variety of text effects.