Login   Register  
PHP Classes
elePHPant
Icontem

File: exemplo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of dzaiacuck  >  SQL to Excel  >  exemplo.php  >  Download  
File: exemplo.php
Role: Example script
Content type: text/plain
Description: Example
Class: SQL to Excel
Export database table records in Excel XLS format
Author: By
Last change:
Date: 2004-04-21 15:50
Size: 505 bytes
 

Contents

Class file image Download
<?
# Brasil ***************************************

//params of the your dataBase server
// parametros do seu servidor
require("db_config.inc");

// classe (class)
require("mid_excel.class");

//Estanciar
$mid_excel = new MID_SQLPARAExel;

// data to the file(Dados para o arquivo)
$sql "select * from alunos";

//ex.:
//$mid_excel->mid_sqlparaexcel("DataBaseName", "TABLEname", RECORDSET, "FILEname");
$mid_excel->mid_sqlparaexcel("ESCOLA""alunos"$sql"seusDadosNoExcel");

?>