CREATE TABLE `messages` (
  `IDLNK` int(11) NOT NULL AUTO_INCREMENT,
  `Title` varchar(255) NOT NULL,
  `Message` text NOT NULL,
  `FolderIDLNK` int(11) NOT NULL,
  `ParentIDLNK` int(11) NOT NULL,
  `DateAdded` varchar(10) NOT NULL,
  `TimeAdded` varchar(10) NOT NULL,
  `PostedByIDLNK` int(11) NOT NULL,
  `Type_IDLNK` int(11) NOT NULL,
  `Deleted` varchar(1) NOT NULL,
  PRIMARY KEY (`IDLNK`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1