home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Internet Web Designer 89
/
PIWD89.iso
/
pc
/
CONTENTS
/
DEVELOPER
/
TUTORIAL_FILES
/
Pages90-91
/
cms.sql
< prev
next >
Wrap
Text File
|
2003-10-29
|
1KB
|
45 lines
-- MySQL dump 9.09
--
-- Host: localhost Database: cms
---------------------------------------------------------
-- Server version 4.0.15-nt
--
-- Table structure for table `tblcat`
--
CREATE TABLE tblcat (
catId int(11) NOT NULL auto_increment,
catName varchar(100) default NULL,
catDesc text,
PRIMARY KEY (catId)
) TYPE=MyISAM;
--
-- Dumping data for table `tblcat`
--
INSERT INTO tblcat VALUES (1,'test one','This is a testing category');
INSERT INTO tblcat VALUES (2,'test two','Another testing category');
--
-- Table structure for table `tblcontent`
--
CREATE TABLE tblcontent (
contentId int(11) NOT NULL auto_increment,
contentTitle varchar(255) default NULL,
contentText text,
catId int(11) default NULL,
PRIMARY KEY (contentId)
) TYPE=MyISAM;
--
-- Dumping data for table `tblcontent`
--
INSERT INTO tblcontent VALUES (1,'Item One','This is some dummy content',1);
INSERT INTO tblcontent VALUES (2,'Item Two','This is the second item of dummy content',1);
INSERT INTO tblcontent VALUES (3,'Item Three','This is the third item of dummy content',2);