Login   Register  
PHP Classes
elePHPant
Icontem

File: simplexlsx.example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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:
Date: 2010-12-21 03:58
Size: 292 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>';

?>