[phplib] PHPLIB and Oracle 8 From: Francesco.Marsan <email protected>
Date: 05/29/00

Hi,

If you use Oracle, be warned that the Table class will probably not work as it is. That's because the verify() function of Table, will check that num_rows() is greater than 0 to let Table work. But Oracle (I have 8i on Linux) always returns 0!

To let table work, I had to do this change:

From:
    if ($db->num_rows() > 0)
      return 1;
To:
// if ($db->num_rows() > 0)
// return 1;

Francesco

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>