PHP Classes

File: test.phtml

Recommend this page to a friend!
  Classes of Erol Ozcan  >  psxlsgen  >  test.phtml  >  Download  
File: test.phtml
Role: ???
Content type: text/plain
Description: test
Class: psxlsgen
Generate simple MS Excel files (xls).
Author: By
Last change:
Date: 21 years ago
Size: 842 bytes
 

Contents

Class file image Download
<?php /**************************************************************** * Script : Simple test examples for PhpSimpleXlsGen * Project : PHP SimpleXlsGen * Author : Erol Ozcan <eozcan@superonline.com> * Version : 0.1 * Copyright : GNU LGPL * URL : http://psxlsgen.sourceforge.net * Last modified : 17 May 2001 ******************************************************************/ include( "psxlsgen.php" ); $myxls = new PhpSimpleXlsGen(); $myxls->totalcol = 2; $myxls->InsertText( "Erol" ); $myxls->InsertText( "Ozcan" ); $myxls->InsertText( "This text should be at (2,0)" ); $myxls->ChangePos(4,0); $myxls->InsertText( "You must pay" ); $myxls->InsertNumber( 30.48 ); $myxls->WriteText_pos(4,2, "USD to use this class :-))" ); // hidden costs :-)) $myxls->SendFile();