diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-18 12:00:21 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-18 12:00:21 -0300 |
commit | 70539fe94d67cb4bdde7edce8a26873343d3c240 (patch) | |
tree | 2009cc33ccafa6a6f7c3d66523e6000cca10677d /tests/phpisis.php | |
parent | f7b8ba01cb6cbf78d5e687bd17dc5c571fe6c85e (diff) | |
download | cinisis-70539fe94d67cb4bdde7edce8a26873343d3c240.tar.gz cinisis-70539fe94d67cb4bdde7edce8a26873343d3c240.tar.bz2 |
Moving tests to apps folder
Diffstat (limited to 'tests/phpisis.php')
-rw-r--r-- | tests/phpisis.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/phpisis.php b/tests/phpisis.php deleted file mode 100644 index d04fbd9..0000000 --- a/tests/phpisis.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * Test query script. - */ -?> - -<h3>Testing pecl-isis</h3> -<?php - - $db = isis_open('db/anu10/anu10'); - //$db = isis_open('db/tupi/tupi'); - print_r(isis_last_mfn($db)); - - echo '<table>'; - - $result = isis_search('$', $db); - while ($record = isis_fetch_flat_array($result) ) { - print (" <tr><td colspan=\"2\">MFN: $record[mfn]</td></tr>\n"); - for ($i=0; $i<count($record)-1; ++$i) { //-1 porque el mfn es +1 - list ($tag, $value) = $record[$i]; - print (" <tr>\n". - " <td>$tag</td>\n". - " <td>".htmlspecialchars($value)."</td>\n". - " </tr>\n"); - } - } - echo '</table>'; -?> - -</body></html> |