Hello ...
Humn, let me guess this out
if you are talking about a page with previous users-added-comments inserted with a form down that same page you can try something like:
generate the top and headers that page.
Lets assume that you have something like
this in your table:
comment_id,user_name,user_comment.
if so in the body section but before you start printing something you can retrieve this data from you table and store in array
after stored in array. you can use functions for construct nice tables and print the users comments inside of it while looping
like
while($row=mysql_fetch_array($result_id) {
$comment_ID = $row["comment_id"];
same for each row
debug with something like
print "This is comment: $comment_id<BR>";
print "Posted by: $user_name<BR>";
print "Comment: $user_comment<BR>;
} // close the loop
now ... in after this
print you simple form that calls either this page or another one that store the comments on that table:
Hint: No matter how many users comments you have in the table, the php code should be able to loop all the comments then go on print the form....
you can use others variables to limit the numbers of comments per page
remeber that nice function of mysql that is
LIMIT 0-30
you can use php to prepare a query for you!
Use you imagination and let me know if you have any other questions 🙂