Awesome Conversion Script

Import/Export CSV, Excel, PDF, Database , Array, HTML, SQL, XML

Excel Generate From SQL


Sql Query
Excel Format
File Output Mode
  Save file on the server      Output in Browser
Output File Name
Code For Excel
<?php
/* include the ACS class page */
   require_once("../../classes/ACS.php");

/* Step 1: create object of the ACS class */
   $ACS=new ACS();

/* Step 2: call the convert method for reading the csv Format and inserting data in database  */
/* $sql                = Write sql query for input  */
/* $outputFileLocation = location of the output file (i.e. complete path of the output file)  */	
   $ACS->convert("sql","excel",$sql,$outputFileLocation);
?>