This class can be used to manage comments published in a guestbook.
It can add submitted comments and store them in a MySQL database table.
Each comment has associated a category. This way it can be used to store comments from multiple guestbooks in the same database table, associating each category to a guestbook.
The class can also retrieve all comments that belong to a given category.