Import DB to PDF
Code For DB
<?php
/* include the ACS class page */
require_once("../../classes/ACS.php");
/* Step 1: create object of the ACS class */
$ACS=new ACS();
/* Step 2: set values of required parameters */
//set tablename of the database
$ACS->dbTableName=$_POST['dbTable'];
//set columns of the database table name
$ACS->columns=$_POST['column_name'];
/* Step 3: call the convert method for reading the csv Format and inserting data in database */
/* $outputFileLocation = location of the output file (i.e. complete path of the output file) */
$ACS->convert("db","pdf",'',$outputFileLocation);
?>