PHP Classes

File: print_sheet_cells.php

Recommend this page to a friend!
  Classes of Karl Holz   PHP Convert Excel to JSON   print_sheet_cells.php   Download  
File: print_sheet_cells.php
Role: Example script
Content type: text/plain
Description: cell test - print_sheet_cells.php Prints out a JSON document of excel worksheet cell and their values
Class: PHP Convert Excel to JSON
Convert data from Excel spreadsheet to JSON format
Author: By
Last change: Update of print_sheet_cells.php
Date: 1 year ago
Size: 195 bytes
 

Contents

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