Awesome Conversion Script

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

Convert CSV to XML


Upload CSV
Row Tag Name
Use First Row As Tag
  True     False
Is First Row Header
  True     False
File Output Mode
  Save file on the server     Output in Browser
Output File Name
Code For CSV
<?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  */
/* $csvFileLocation    = location of the csv file (i.e. complete path of the uploaded csv file)  */
/* $outputFileLocation = location of the output file (i.e. complete path of the output file)  */	
   $ACS->convert("csv","xml",$csvFileLocation,$outputFileLocation);
?>