File: examples/01-basic_usage.php

Recommend this page to a friend!
  Classes of Sergey Shuchkin  >  SimpleXLSX  >  examples/01-basic_usage.php  >  Download  
File: examples/01-basic_usage.php
Role: Example script
Content type: text/plain
Description: Example script
Class: SimpleXLSX
Parse and retrieve data from Excel XLS files
Author: By
Last change: Update of examples/01-basic_usage.php
Date: 1 month ago
Size: 294 bytes
 

Contents

Class file image Download
<?php
ini_set
('error_reporting', E_ALL);
ini_set('display_errors', true);

require_once
__DIR__.'/../src/SimpleXLSX.php';

echo
'<h1>Parse books.xslx</h1><pre>';
if (
$xlsx = SimpleXLSX::parse('books.xlsx') ) {
   
print_r( $xlsx->rows() );
} else {
    echo
SimpleXLSX::parseError();
}
echo
'<pre>';


For more information send a message to info at phpclasses dot org.