PHP Classes

File: print_sheet_rows.php

Recommend this page to a friend!
  Classes of Karl Holz   PHP Convert Excel to JSON   print_sheet_rows.php   Download  
File: print_sheet_rows.php
Role: Example script
Content type: text/plain
Description: rows test - print_sheet_rows.php Prints out a JSON document of excel worksheet cell and values grouped into rows
Class: PHP Convert Excel to JSON
Convert data from Excel spreadsheet to JSON format
Author: By
Last change: Update of print_sheet_rows.php
Date: 1 year ago
Size: 194 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_rows();