The news table does not have a field called [FONT=courier new]newsid[/FONT]. Here is the schema for the two tables:
# Table structure for table 'news'
CREATE TABLE `news` (
`id` int(11) NOT NULL auto_increment,
`date` int(11) default NULL,
`title` varchar(200) default NULL,
... other fields ... ,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
# Table structure for table 'news_comments'
CREATE TABLE `news_comments` (
`id` int(11) NOT NULL auto_increment,
`newsid` int(11) default NULL,
`title` varchar(250) default NULL,
... other fields ... ,
PRIMARY KEY (`id`),
KEY `news_comments_newsid` (`newsid`)
) TYPE=MyISAM;
Thanks for the response, i have posted this on devshed as well, you can see what has been posted there with this link.
http://forums.devshed.com/showthread.php?s=&threadid=42779