diff options
-rw-r--r-- | isis.php | 6 | ||||
-rw-r--r-- | test.php | 7 |
2 files changed, 10 insertions, 3 deletions
@@ -109,3 +109,9 @@ class MaleteDb implements IsisDb { return $data; } } + +/** + * PHP-Isis implementation of IsisDb. + */ +class PhpIsis implements IsisDb { +} @@ -185,13 +185,14 @@ include('contrib/spyc/spyc.php'); <h3>Testing pecl-isis</h3> <?php - //$db = isis_open('db/anu10/anu10'); - $db = isis_open('db/tupi/tupi'); + $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 @@ -202,7 +203,7 @@ include('contrib/spyc/spyc.php'); " </tr>\n"); } } - + */ echo '</table>'; ?> </body></html> |