Jump to content

Page Table creaton advice


camdenite

Recommended Posts

Hi all,

    I want to create a table in my database for standard pages but I am not sure what I should have.

 

I've got this:

 

CREATE TABLE pages (

 

page_id INT unsigned NOT NULL auto_increment,

page_name varchar(15) NOT NULL,

content ?

active CHAR(32),

creation_date datetime NOT NULL,

PRIMARY KEY (page_id)

;

 

I just want this to store the main content of the page. I will use css for the rest. And maybe other tables for other sections. I want the main table to use html as I want to add FCKeditor to help create nice content.

 

I am making this up as I go along as I can't find actual examples and I'm less than confident.

 

Thankyou for any help.

 

Cheers.

Link to comment
https://forums.phpfreaks.com/topic/142540-page-table-creaton-advice/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.