PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Huda M Elmatsani   Text2Array   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: Text2Array
Convert tabular text data or file to an array
Author: By
Last change:
Date: 19 years ago
Size: 176 bytes
 

Contents

Class file image Download
<?php
require("text2array.php");
$data = new Text2Array;
$data->setTextFile("sample_data.txt");
//$data->setSeparator("\t","\n");
print_r($data->getArrayData());



?>