use IsisDB module instead of OpenIsis -- this will fix various problems in
[webpac] / openisis / php / query
1 <?php
2         require_once('Isis.php');
3         $db = new Isis_Db( null, "cds", new Isis_Server( 'localhost' ) );
4         $mfns = $db->query('plant * water');
5         foreach ($mfns as $n) {
6                 echo "---$n\n";
7                 $r = $db->read($n);
8                 if ( $r )
9                         while ( $v = $r->mhl() ) echo "$v\n";
10         }
11 ?>