Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevArticles:
Building Threaded News
Dec 30, 2002 @ 13:26:57

For all of you out there designing a "news CMS" or even just a news based site and want to try something a little bit different, you might check out this new article from DevArticles covering the creation of a "threaded news system".

In this tutorial I'll explain how you can create a threaded discussion, just like you see in threaded forums across the Internet. Only, in my example, I'll show you how to do it with a "news" page that will have threaded comments.

And, of course, like any good design, he starts with some planning and works from there. Of course, he gives you all the code to drop into your site, but with one warning: I seriously don't recommend using these scripts on your website unless you improve them. The data checking leaves a lot to be desired, however I just wanted to show you a basic structure so that you could see how it works, modify it, and implement it into your own web site. So, be careful if you're not much into modifying OPC (Other People's Code)....

tagged:

Link:


Trending Topics: