Login   Register  
PHP Classes
elePHPant
Icontem

File: Example/Forum.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Thomas  >  SQL Object  >  Example/Forum.sql  >  Download  
File: Example/Forum.sql
Role: Auxiliary data
Content type: text/plain
Description: Forum SQL Import
Class: SQL Object
Retrieve MySQL query results as array objects
Author: By
Last change:
Date: 2012-01-15 12:02
Size: 394 bytes
 

Contents

Class file image Download
CREATE TABLE IF NOT EXISTS `forum_cats` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `PID` int(11) NOT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;

INSERT INTO `forum_cats` (`ID`, `name`, `PID`) VALUES
(1, 'Main Category 1', 0),
(2, 'Sub Category 1', 1),
(3, 'Sub Sub Category 1', 2),
(4, 'Main Category 2', 0);