stig1 Posted March 25, 2009 Share Posted March 25, 2009 When i try to use odbc_num_rows it always returns -1 as a result. Is there a work around to counting records in an as400 database system. Basically I just need to know if there is a record with certain values in the as400 database, if not, run an update script on the mysql database. However, odbc_num_rows does not work! It always returns -1. Its starting to drive me insane. Link to comment https://forums.phpfreaks.com/topic/150990-odbc_num_rows-not-working/ Share on other sites More sharing options...
btherl Posted March 25, 2009 Share Posted March 25, 2009 An ugly workaround would be to do a count() query. Is it related to HAVE_SQL_EXTENDED_FETCH ? You can look in google to find references to that. Link to comment https://forums.phpfreaks.com/topic/150990-odbc_num_rows-not-working/#findComment-793287 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.