PHP Classes

File: exemplo.php

Recommend this page to a friend!
  Classes of Eric Sakamoto   Mysql e Formulario   exemplo.php   Download  
File: exemplo.php
Role: Example script
Content type: text/plain
Description: Exemplo
Class: Mysql e Formulario
Manage MySQL table record with Web based forms
Author: By
Last change:
Date: 16 years ago
Size: 557 bytes


Class file image Download
require 'mysql.class.php';
// require '../class.Smarty/Smarty.class.php';
//require '../fpdf/fpdf.class.php';
$db = new Mysql;
$form = new Formulario($db,$smarty);
$db->Con('banco de dados','localhost','user','senha');
$db->desenvolvedor = true;
$qantidade_linha = $db->Sql('nome','tabela','coluna = valor','order by coluna');
$array = array(
'coluna1' => 'valor'
=> 'valor');