diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/read.php | 12 |
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> |