What do you want to do?

- I want to use Creative Table
- I just want to add a CSS style to my own table

1

### Making sure all is working fine

Ok, so the first thing you need to do, is to make sure that the examples are working.

1. copy the whole CreativeTable pack to your web server (public_html, htdocs or www)
2. now you should have something like:
   `SERVER_ROOT/public_html/CreativeTable`
3. create a database
4. import a mysql dump from `assets/imdbtop250.sql` to that DB
5. edit the `config.php` file with your DB access info
6. open a web browser and go to:
   `http://YOURDOMAIN.COM/CreativeTable/`
7. go to the examples page and see if everything is working well

2

### Testing the different parameters

1. open the php examples files and see what was made
2. change the parameters and see the result to understand what can be done

3

### Using Creative Table on your project

1. copy the `creativeTable.php` to your project
2. copy the `creativePagerLite.php` to your project
3. copy the desired css style to your project
4. include the CSS style in the header of your html file
5. include a jQuery library in the header of your html file
6. include the creative_table javascript file (normal or ajax version) in the header of your html file
7. open the php example file that is more suitable to your project requirements
8. copy the code from the example file into your project's php file
9. make any necessary adjustments

To have an idea of what it should be like, please view the instructions page

#### REMEMBER

- If your project have already an open DB connection, you don't need to include the:

      // MySQL settings and DB connection (if your project have already an open DB connection, you don't need to include this)
      include_once('config.php');

- If your project doesn't have any opened DB connection you need to:

  1. copy also the `config.php` to your project
  2. copy also the following code to your php file

         // MySQL settings and DB connection (if your project have already an open DB connection, you don't need to include this)
         include_once('config.php');

  3. edit the `config.php` and change the MySQL setting to match your own server
  4. remove the following code from the `config.php`

         //==============================================================
         // REMOVE THE BELLOW CODE IF YOUR ARE USING THIS FILE IN YOUR PROJECT (mysql.php is only used for examples purposes)
         //==============================================================
         // Examples DB verification
         include_once('mysql.php');

You don't need to install anything

1. just go to STYLES
2. see the style you want
3. go to `styles/` and copy the corresponding directory to your project
4. include the CSS file in the header of your html
   `<link rel="stylesheet" href="css/creative/style.css">`
5. confirm that your table has the same STRUCTURE as Creative Table
6. make the necessary adjustments in the CSS
7. have fun!