# PHP/MySQL Comment System

**URL:** <https://forum.kirupa.com/t/php-mysql-comment-system/247752>\
**Category:** programming\
**Created:** [December 29, 2007, 1:04am UTC](https://forum.kirupa.com/t/php-mysql-comment-system/247752 "2007-12-29T01:04:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cubed](https://avatars.discourse-cdn.com/v4/letter/c/8dc957/32.png) [@cubed](https://forum.kirupa.com/u/cubed)\
**Post date:** [December 29, 2007, 1:04am UTC](https://forum.kirupa.com/t/php-mysql-comment-system/247752/1 "2007-12-29T01:04:33Z")

</div>

I have something like 100 different items stored in a database. I want to create a comment system for each one and I was wondering what the best approach would be for something like this.

1. Create a separate database for comments and have each item with its own table within that database to store the comments information.

2. Create a table within the existing database and just store all comments withing that table and pull them according to whichever item the visitor is viewing.

I was wondering which method would be quicker and better, or any other ideas on how to accomplish this.

Thanks in advanced.
