PHP Classes

File: Basic.test.php

Recommend this page to a friend!
  Classes of Karl Holz  >  PHP Convert Excel to JSON  >  Basic.test.php  >  Download  
File: Basic.test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Convert Excel to JSON
Convert data from Excel spreadsheet to JSON format
Author: By
Last change: Major Update

added cell mapping to names; index.php will display the excel files
sheets and data
Date: 11 months ago
Size: 509 bytes


Class file image Download
require_once 'excelMap.class.php';
$e=new excel2JSON();
$e->set_excel($file, 'false');




'<h2>Filtered Cells</h2><pre>'.print_r($e->filter_cells(), TRUE).'</pre><hr />';

'<h2>Filtered Cell Data</h2><pre>'.print_r($e->filter_data(), TRUE).'</pre><hr />';

'<pre>'.print_r($e, TRUE).'</pre>';

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