Login   Register  
PHP Classes
elePHPant
Icontem

File: importer.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Wayne Philip  >  SQL Bulk Importer  >  importer.php  >  Download  
File: importer.php
Role: Example script
Content type: text/plain
Description: Importer Class execution file
Class: SQL Bulk Importer
Execute MySQL queries read from files
Author: By
Last change:
Date: 4 years ago
Size: 530 bytes
 

Contents

Class file image Download
<?php
session_start
;
// setups
include('_setups.php');
// access the classes
include('_to_db_class.php');
// instatiate objects
$__obj_files = new _to_db_class;
$ht $ht_results_opener;
$ht .= $__obj_files->_to_db_class_call();
$files_array $__obj_files->get_files_array();
$cntr count($files_array);
for(
$x 0$x $cntr$x++)
{
    
$active_file $files_array[$x];
    
$nullit $__obj_files->__mk_connect();
    
$ht    .=  $__obj_files->process_file($active_file);
}
$ht .= $ht_results_closer;
echo(
$ht);
?>