how to use pagination offline in PHP

how to use pagination offline in PHP

akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0

Hi gays today's I want to discuss on How to use offline pagination (using without CDN ) in PHP Language.
please give your opinions and answers....

Replies

  • allanallan Posts: 61,635Questions: 1Answers: 10,092 Site admin

    Truly offline? How are you going to have it connect to a PHP server if it is offline?

    If you mean you just don't want to use the CDN, then download DataTables and host on your own server.

    Allan

  • akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0
    edited May 2022

    simply go to this site and right click on open with new tab

    then copy the code

    and create a file with .js extension and add your page

    then do same with all files like as js and css
    then save your code and see output
    and don't forget add this code

    $(document).ready(function() { $('#example').DataTable(); } );

    It's a way to use offline pagination.....
    if you don't have Internet so you can you this method or if you want create a offline project so It will work

  • allanallan Posts: 61,635Questions: 1Answers: 10,092 Site admin

    Is this a tutorial on how to use DataTables rather than a question? If so, thank you - although I would say it would be easier to use the download builder rather than reconstructing one of our examples from "View source".

    Allan

  • akshatchaurasiyaakshatchaurasiya Posts: 9Questions: 1Answers: 0

    It's a simple way to use offline pagination and nothing else.

Sign In or Register to comment.