From eb217536079197bd1d17cda2c2adf4ba12bad504 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 18 Aug 2010 12:01:13 -0300 Subject: Moving some apps to the samples folder --- apps/read.php | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 apps/read.php (limited to 'apps/read.php') diff --git a/apps/read.php b/apps/read.php deleted file mode 100644 index 835ae60..0000000 --- a/apps/read.php +++ /dev/null @@ -1,51 +0,0 @@ - - - - - array( - 'implementation' => 'PhpIsis', - 'database' => 'dbname', - ), - 1 => array( - 'implementation' => 'BiblioIsis', - 'database' => 'dbname', - ), -); - -foreach ($configs as $config) { - // Get a db instance. - $isis = new CinisisDb($config); - - // Test connection. - if ($isis->db) { - $result = $isis->db->read(1); - $entries = $isis->db->entries(); - - // Format output. - echo ''; - } -} - -?> - -
'; - echo '
';
-    echo 'Implementation: '. $config['implementation'] ."\n";
-    echo "Rows: $entries\n";
-    print_r($result);
-    echo '
'; - echo '
- -- cgit v1.2.3