Error getting records on SELECT

2011-02-15
2013-05-01
  • Jose Alberto
    Jose Alberto
    2011-02-15

    , im opening from php a mdb file with just one table.
    The problem is that, when i open this mdb file with Access, it has 10246 records on the table.
    When i make mdb_num_rows() it give me 9204 records, so there are some records that doesnt read.

    This is my php code:
    {
                    $conex = mdb_open('DatWeb.mdb') ;
                    $table = mdb_table_open($conex,'ResultadosWeb') ;
                    echo mdb_num_rows($table) ;              
    }

    I already try to do this one
    {
                    $conex = mdb_open('DatWeb.mdb') ;
                    $table = mdb_table_open($conex,'ResultadosWeb') ;
    $i=0 ;
                    While ($info = mdb_fetch_assoc($table))
                                   $i++ ;
                    Echo $i ;
    }

    And it giveme 9204 too :\

    What can i do?