I want to nest my forum replies....meaning reply to a reply....so want to create a 2 dimensional array with one number refering to the orig post and the other for each reply on that post
Could somebody please help me out.
Thanks in advance
my forum_replies table looks like this....
Code: Select all
CREATE TABLE IF NOT EXISTS `forum_replies` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`tid` INT(11) NOT NULL,
`uid` INT(11) NOT NULL,
`message` TEXT NOT NULL,
`DATE` VARCHAR(64) NOT NULL,
`TIME` INT(25) NOT NULL,
`edit_time` INT(25) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=33 ;