PHP - How do i display the first 20 li then have a link to display more (gallery)

Posted by Matt Rogers on Stack Overflow See other posts from Stack Overflow or by Matt Rogers
Published on 2012-06-06T04:36:25Z Indexed on 2012/06/06 4:40 UTC
Read the original article Hit count: 94

Filed under:
|

I want to display about 20 li on a page with a link at the bottom that says something like 'display more'. This link will then clear the first 20 and display the next 20. How should i go about doing this. (I am creating a gallery)

I was thinking about using PHP and MySQL. However for what I am doing I do not really need to store it in a database so is there an easier way of doing it only using html, php or javascript?

thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about list