get a total comment listing

From: Date: Thu, 08 Jan 2004 09:13:15 +0000
Subject: get a total comment listing
Groups: php.db 
Request: Send a blank email to php-db+get-32328@lists.php.net to get a copy of this message
im making a website where visitors can comment on essays that they read. i have a table that contains every comment written and each comment has its own ID for primary key and articleid column for which essay it is written for. now, i want to be able to tally up how many comments there are for each particular article on a page that sums up all of the essays for a user, so that you can tell which ones have had new comments and which havent. its quite basic, but im stuck as far as what to do. any help would be great, thanks. -james

« previous php.db (#32328) next »