From 2fc4b766f4422f6a58c0a535fadf99096e7a9ddd Mon Sep 17 00:00:00 2001 From: Silvio Date: Tue, 30 Mar 2010 15:41:42 -0300 Subject: Adding doxygen --- index.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index f382f22..21d4d18 100644 --- a/index.php +++ b/index.php @@ -17,14 +17,18 @@ function __autoload($class) { require_once 'classes/' .$class. '.php'; } -// Test database connection. +// Load database schema. $schema = Spyc::YAMLLoad('schemas/anu10.yaml'); + +// Setup database connection. $db = new MaleteDb($schema); //$db = new PhpIsisDb($schema); + +// Test connection. if ($db) { + echo '
';
   $result = $db->read(1);
   //$result = $db->rows();
-  echo '
';
   print_r($result);
   echo '
'; } -- cgit v1.2.3