Export PHP/HTML table to PDF, CSV, PNG, XML, JSON, SQL, TXT, MS Excel and MS Word – Hindi



This hindi video is about:

How to export php/ html table to PDF(Portable Document Formate) – tutorial and example,
How to export html table to CSV tutorial and example,
How to export html table to PNG tutorial and example,
How to export html table to XML(Extensible Markup Language) tutorial and example,
How to export html table to JSON(Javascript Object Notation) tutorial and example,
How to export html table to SQL(Structure query language) tutorial and example,
How to export html table to…

9 thoughts on “Export PHP/HTML table to PDF, CSV, PNG, XML, JSON, SQL, TXT, MS Excel and MS Word – Hindi

  1. <!doctype html>
    <html>
    <head>

    <meta charset="utf-8" />

    <script type="text/javascript" src="tableExport/jquery.js"></script>
    <script type="text/javascript" src="tableExport/tableExport.js"></script>
    <script type="text/javascript" src="tableExport/jquery.base64.js"></script>
    <script type="text/javascript" src="tableExport/html2canvas.js"></script>
    <script type="text/javascript" src="tableExport/jspdf/jspdf.js"></script>
    <script type="text/javascript" src="tableExport/jspdf/libs/sprintf.js"></script>
    <script type="text/javascript" src="tableExport/jspdf/libs/base64.js"></script>

    <script type="text/javascript">

    $(document).ready(function(e)){

    $("#pdf").click(function(e){

    $("#myTable").tableExport({
    type: 'pdf',
    escape:'false'
    });
    });
    });

    </script>

    <title>table to pdf</title>
    </head>
    <body>
    <h1>try </h1>

    <button id="pdf"> Export as pdf </button>

    <table id="myTable" border="1">
    <tr>
    <td>Name</td>
    <td>Address</td>
    <td>Phone</td>
    </tr>
    <tr>
    <td>Name</td>
    <td>Address</td>
    <td>Phone</td>
    </tr>
    </table>

    </body>
    </html>

Leave a Reply

Your email address will not be published. Required fields are marked *