PHP Classes
elePHPant
Icontem

File: simplexlsx.example.php

Recommend this page to a friend!
  Classes of Sergey Shuchkin  >  Simple XLSX  >  simplexlsx.example.php  >  Download  
File: simplexlsx.example.php
Role: Example script
Content type: text/plain
Description: basic example
Class: Simple XLSX
Parse and retrieve data from Excel XLS files
Author: By
Last change: Merge branch 'master' of https://github.com/shuchkin/simplexlsx
Date: 3 months ago
Size: 277 bytes
 

Contents

Class file image Download
<?php

include 'simplexlsx.class.php';

$xlsx = new SimpleXLSX('countries_and_population.xlsx');
echo
'<h1>$xlsx->rows()</h1>';
echo
'<pre>';
print_r( $xlsx->rows() );
echo
'</pre>';

echo
'<h1>$xlsx->rowsEx()</h1>';
echo
'<pre>';
print_r( $xlsx->rowsEx() );
echo
'</pre>';

?>