PHP Classes

File: odbc_test.php

Recommend this page to a friend!
  Classes of Josť Augusto Ferreira Franco  >  ODBC Conn  >  odbc_test.php  >  Download  
File: odbc_test.php
Role: Example script
Content type: text/plain
Description: some short tests using this class
Class: ODBC Conn
ODBC database access wrapper
Author: By
Last change:
Date: 15 years ago
Size: 666 bytes


Class file image Download

require "odbc_class.php";

 * There some tests with class to show how it works
$date = date('d-m-Y');

$db = new odbc_conn();

#$db->Update(array("nome" => "xxx","morada" => "Manu"),0);

$db->Insert(array("nome" => "Bernardo","morada" => "Garajau", "data"=> "{$date }" ));

$sql = "SELECT * FROM clientes";

#$data = $db->Results($sql);
print $db->TableResults($sql);





For more information send a message to info at phpclasses dot org.