PHP Classes

File: example.php

Recommend this page to a friend!
  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: 15 years ago
Size: 259 bytes


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

$cnx = conexion ();

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

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