i have a comments page on my site where comments posted by the users are displayed. I want to know that is it possible that as the comments are increasing the pages created automatically. Mean if there are 10 comment then that are displayed on a page. If there are 20 comments then first 10 are displayed on one page and ohter on the next page and so on as this is the pure example of FORUMS please guide me
How are you storing your comments? If it is in a database you can just use LIMIT to select the first 10 comments on the first page and then the next 10 on the next page.
Search Google for PHP Pagination. There are some great tutorials on how to limit MySQL results - that is, if your comments are stored in a MySQL DB. Try this for starters: http://www.phpfreaks.com/tutorials/43/0.php