php - Div auto-increment page for gallery -
i want create script auto-increment div number every time reach limit 16 pics. "next" - "prev" controls.
example: if have 16 pics in database, these remain in page n.1, if i've 20 pics: 16 pics in page n.1 , 4 pics in page n.2 ...etc
the number of page depends number of pics in database sql.
javascript or php?
thank's!
what looking called pagination.
Comments
Post a Comment