Re: [How-to]flatfile New system with comments

From: Date: Thu, 23 Feb 2006 20:18:01 +0000
Subject: Re: [How-to]flatfile New system with comments
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-230977@lists.php.net to get a copy of this message
Nicholas Couloute wrote:
LOL. I see the point your trying to make! I have made a news script before but how would I add coments to each individual new article! How would I keep it all together! and also to show only the lastest news articles!
Without seeing one iota of your code, or your data structure, who knows? The way *I* would do it is; get rid of the flatfile, setup a db. Two tables to start, one for news, one for comments. Each news article is assigned an unique id. Comments are tagged with that id to link them to the article. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#230977) next »