Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ruben Crespo  >  CSV Importer  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: CSV Importer
Import data from a CSV file into a MySQL table
Author: By
Last change:
Date: 2008-02-25 06:24
Size: 259 bytes
 

Contents

Class file image Download
<?php
include ("Conn.Config.php");
include (
"CSVImporterClass.php");

$cnx conexion ();

//CSVImporter ("Table Name", "CSV File", $TruncateTable ["yes"/"no"], $cnx);

$upload = new CSVImporter ("TableName""CsvFile.csv""no"$cnx);
$upload->Upload ();
?>