Saran Chamling loves the web technology, and enjoys designing, exploring and writing about it @sanwebe.com. You can find him at Twitter, Google or Facebook.
Are you looking for PHP pagination function? here one slick PHP function that will paginate your database records. You can easily combine this function in your project to paginate your database records. Just drop the function within your PHP script and call it wherever you’ll need the pagination.
date(“format”, timestamp) Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given.
If you are writing a code, it is always a good habit to leave comments within your code for later review or for other programmers to see it. In PHP you can leave comments in three different ways, have a look.