File manager - Edit - /home/autoph/public_html/voc/home/pagination_index.php
Back
<!DOCTYPE html> <html> <head> <title>Webslesson Tutorial | Make Pagination using Jquery, PHP, Ajax and MySQL</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" /> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> </head> <body> <br /><br /> <div class="container"> <h3 align="center">Make Pagination using Jquery, PHP, Ajax and MySQL</h3><br /> <div class="table-responsive" id="pagination_data"> </div> </div> </body> </html> <script> $(document).ready(function(){ load_data(); function load_data(page) { $.ajax({ url:"pagination.php", method:"POST", data:{page:page}, success:function(data){ $('#pagination_data').html(data); } }) } $(document).on('click', '.pagination_link', function(){ var page = $(this).attr("id"); load_data(page); }); }); </script>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings