PHP Classes

File: print_filter_data.php

Recommend this page to a friend!
  Classes of Karl Holz   PHP Convert Excel to JSON   print_filter_data.php   Download  
File: print_filter_data.php
Role: Example script
Content type: text/plain
Description: data filter test - print_filter_data.php Prints out a JSON document of excel worksheet cell data in detail, only cells added to cell list will be displayed
Class: PHP Convert Excel to JSON
Convert data from Excel spreadsheet to JSON format
Author: By
Last change: Update of print_filter_data.php
Date: 1 year ago
Size: 310 bytes
 

Contents

Class file image Download
<?php
require_once 'excelMap.class.php';
$e=new excel2JSON();
$e->set_excel($file, 'false');
$e->load_sheet($sheet);
$e->load_sheet_data();
//
$e->add_cell_list('A1');

$e->add_cell_list('A2');
$e->add_cell_list('B2');

$e->add_cell_list('A4');
$e->add_cell_list('B4');

$e->print_filter_data();