...

View Full Version : Category System?



winterdude
06-09-2007, 07:40 PM
Hi,

I have a PHP system that has categories for each post that is made. How would I create a code that would when clicking on that categories link, show all of the posts in that category?

Thanks.

whizard
06-09-2007, 08:05 PM
how are your categories stored?

In a database? If so...



$query = "SELECT * FROM `table` WHERE `category` = $category";


should work

Dan



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum