Well you didnt specify your skills. Previous script shows how you can fetch the checkboxes. This really scares me if you dont know how to connect to database at all. You should really read the Mysql section from PHP manual. In most cases the manual is your best friend. Theres lots of examples when you look at the functions.
I encourage you to try create this thing from scratch. You will learn a lot in the process(form handling, mysql etc.) and this is very good practice.
Design the tables in your database. This thing needs atleast 2 tables: one for categories and one for content. For example:
CREATE TABLE `category` (
`id` INT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`name` VARCHAR( 255 ) NOT NULL
) ENGINE = MYISAM ;
CREATE TABLE `content` (
`id` INT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`category_id` INT( 8 ) UNSIGNED NOT NULL ,
`content` TEXT NOT NULL ,
INDEX ( `category_id` )
) ENGINE = MYISAM ;
That would create you 2 tables:
category content
-------- -------
id id
name category_id
content
Before I go any further, does anything I wrote to you make any sense? 🙂 Have you done any work with mysql/php before? In order to write php/mysql stuff you would need to understand mysql syntax as well.