Anonymous - 2004-08-12

I found problems about DbNumRows() and DbNextRow() functions in the xmldb4php.php.
If you add some values in test1.xml in [ADDR] fields, you will find that the return value of DbNumRows() is not the number of records and the return value of DbNextRow() is not an array of record.

see the source code in the test3.php

    $db->DbQuery("SELECT * FROM visiteurs"); 
    while ($r=$db->DbNextRow())
    {
        echo "$r[HOST], ";
        echo "$r[ADDR]<br> ";   ==> I add this line
    }
======================================
$r is not an array! Is that a bug or I need use another method to operate the $r ?