PHP Classes
elePHPant
Icontem

File: print_sheets.php

Recommend this page to a friend!
  Classes of Karl Holz  >  PHP Convert Excel to JSON  >  print_sheets.php  >  Download  
File: print_sheets.php
Role: Example script
Content type: text/plain
Description: sheets test - print_sheets.php => on by default if worksheet not found or set. Prints out a JSON document of a list of excel workbook sheets
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: 19 days ago
Size: 141 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->print_sheets();