aboutsummaryrefslogtreecommitdiff
path: root/tests/read.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-04-08 15:56:59 -0300
committerSilvio <silvio@devlet.com.br>2010-04-08 15:56:59 -0300
commit5288d2bd1572f6c1f59ba87bb111ba9344f2f9a9 (patch)
tree0e3234103755713a24491b77d3c4751d6b6c0544 /tests/read.php
parentb91f359f1c5bb89d7c22e8cf234f71105140cdf9 (diff)
downloadcinisis-5288d2bd1572f6c1f59ba87bb111ba9344f2f9a9.tar.gz
cinisis-5288d2bd1572f6c1f59ba87bb111ba9344f2f9a9.tar.bz2
Minor fixes
Diffstat (limited to 'tests/read.php')
-rw-r--r--tests/read.php12
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/read.php b/tests/read.php
index bc3221e..933d844 100644
--- a/tests/read.php
+++ b/tests/read.php
@@ -11,6 +11,8 @@
</head>
<body>
+<table><tr>
+
<?php
// Import Malete Library.
@@ -19,11 +21,11 @@ require_once '../index.php';
$configs = array(
0 => array(
'implementation' => 'PhpIsis',
- 'database' => 'tupi',
+ 'database' => 'anu10',
),
1 => array(
'implementation' => 'Malete',
- 'database' => 'tupi',
+ 'database' => 'anu10',
),
);
@@ -37,13 +39,17 @@ foreach ($configs as $config) {
$rows = $isis->db->rows();
// Format output.
+ echo '<td>';
echo '<pre>';
- echo "Connection test:\n";
+ echo 'Implementation: '. $config['implementation'] ."\n";
echo "Rows: $rows\n";
print_r($result);
echo '</pre>';
+ echo '</td>';
}
}
?>
+
+</tr></td></table>
</body>