I need a PHP script that will create the proper tables for a CMS. I've made it a little easier for you in that I have a function to take care of the MySQL connection that I will script. All I need is the part that will create these tables inside the database:
Thanks!
| Code: |
|
- News - id INT auto_increment (primary key) - subject TEXT - comment TEXT/LONGTEXT - posted TIMESTAMP on update current timestamp - Page - Same structure as in News - Links - id INT auto_increment (primary key) - href TEXT - name TEXT - comment TEXT - Downloads - id INT auto_increment (primary key) - href TEXT - name TEXT |
Thanks!
