PHP Classes

File: sql2excel_example.php

Recommend this page to a friend!
  Classes of Erh-Wen,Kuo  >  sql2excel  >  sql2excel_example.php  >  Download  
File: sql2excel_example.php
Role: Auxiliary script
Content type: text/plain
Description: This is a demo for 'sql2excel' class.
Class: sql2excel
Easy way to stream Mysql sql content to Excel.
Author: By
Last change:
Date: 14 years ago
Size: 702 bytes


Class file image Download
     * @version V1.0 2002/July/18 (c) Erh-Wen,Kuo ( All rights reserved.
     * Released under both BSD license and Lesser GPL library license.
     * Whenever there is any discrepancy between the two licenses,
     * the BSD license will take precedence.
     * purpose: This is a example how to use "sql2excel" class to write mysql sql content
     * to excel file format and stream the output to user's browser directly.
echo"<a href=\"./sql2excel_example1.php\">Download Excel Example1<a><br>";
$query="Select * From employees";
"<a href=\"./sql2excel_example2.php?query=$query\">Download Excel Example2<a>";