Login   Register  
PHP Classes
elePHPant
Icontem

File: AnonORM.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sean Campbell  >  AnonORM  >  AnonORM.php  >  Download  
File: AnonORM.php
Role: Unit test script
Content type: text/plain
Description: AnonORM test & example script
Class: AnonORM
Retrieve and store objects in relational databases
Author: By
Last change:
Date: 9 years ago
Size: 298 bytes
 

Contents

Class file image Download
<?php
require_once("adodb/tohtml.inc.php");
require_once(
"AnonORM.class.php");

$conn = &ADONewConnection(SQL_DB_URI);   # create a connection
$rs $conn->Execute("SELECT id,name,date FROM Test");
rs2html($rs,'border=2 cellpadding=3',array('ID','Name','Date'));

AnonORMPeer::test();

?>