How to make a Javascript pagination that shows only 6 records per page?

Asked

Viewed 205 times

0

I want to make a pagination with Javascript, and in this pagination I would like to show only 6 entries per page.

Here’s an example of how I was doing earlier, but my records got too big and now it’s impossible to see them all through.

inserir a descrição da imagem aqui

  • 2

    Pq does not use something ready as Datatables.net does paging, searching, sorting, etc

  • Hello, is the code you showed not making several tables? repair that the <table> tag is inside the while and missing openings and closing tags.

  • Not this just making a single table.

  • 2

    You could put the code instead of his picture?

  • Do you want to paginate directly mysql or javascript? ?

  • It’s going to be inside a div, and I’d like to see what kind of pagination comes up with data coming from the database. and that only the image and title appear !!

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.