- user enter website
- He viewed 5 record from database.
- on clicking next button he can view next 5 record .
- on clicking prev button he should be able to view prev 5 record.
Basically, user should be able to access database page by page.
Basically, user should be able to access database page by page.
Have a look at some tutorials like this: http://aspektas.com/blog/really-simple-php-pagination/
There are also many questions similar, take a look at this: Simple PHP Pagination script
It's not too difficult
you can use PAGINATION functionality. for that you have to use LIMIT in query.