PHP Classes

File: exemplo.php

Recommend this page to a friend!
  Classes of Izaias Moura   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: 19 years ago
Size: 505 bytes


Class file image Download
# Brasil ***************************************

//params of the your dataBase server
// parametros do seu servidor

// classe (class)

$mid_excel = new MID_SQLPARAExel;

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

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