PHP Classes

File: exemplo.php

Recommend this page to a friend!
  Classes of Enio Borges Ribeiro  >  Simple CSV Reader  >  exemplo.php  >  Download  
File: exemplo.php
Role: Example script
Content type: text/plain
Description: Script de Exemplo
Class: Simple CSV Reader
Read and sort CSV file data into array
Author: By
Last change:
Date: 11 years ago
Size: 331 bytes


Class file image Download
require "CsvToArray.Class.php";
foreach (
CsvToArray::open('teste.csv') as $c)
$nome = $c[0];
$empresa = $c[1];
$cidade = $c[2];
$estado = $c[3];
$endereco = $c[4];
$numero = $c[5];
$complemento = $c[6];
$bairro = $c[7];
$cep = $c[8];
$pais = $c[9];

For more information send a message to info at phpclasses dot org.