Document Conversion Online

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

Convert SQL to CSV


Sql Query
Delimeter
File Output Mode
  Save file on the server      Output in Browser
Output File Name
Code For SQL
<?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","csv",$sql,$outputFileLocation);
?>