Login   Register  
PHP Classes
elePHPant
Icontem

File: example

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michel Gomes Ank  >  Report in Table  >  example  >  Download  
File: example
Role: Example script
Content type: text/plain
Description: A example of class
Class: Report in Table
Generate HTML table reports from MySQL queries
Author: By
Last change:
Date: 2004-11-29 09:32
Size: 317 bytes
 

Contents

Class file image Download
<?php
include "class_db.php";
$db = new db;

echo 
$db->db_relat("SELECT id_cliente,nome,nome,nome FROM clientes","ID,nome,nome,nome","cad_cliente.php?id_cliente=");
/* Return:
Cliente 
 CVRD  
 CEF  
 Correios Brasília  
*/

echo $db->db_umResul("SELECT nome FROM clientes");
#Return a row of field

?>