View Single Post
Old 08-19-2009, 10:09 AM   #2 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

In your table for the comments, use a row for pageId that stores the ID of the page the comment is associated with. Then on the page, you just fetch the comments with pageId = $_GET['id']. Remember to secure that for sql injections.
__________________
Tanax is offline  
Reply With Quote
The Following User Says Thank You to Tanax For This Useful Post:
tearsofthesun (08-19-2009)