Hello,

we are actually migrating from Adabas D 11 to MaxDB 7.6.0.16 and are now
testing the PHP functions via ODBC on Linux (configured PHP 4.4.2 with
option "with-sapdb=..."). We are using the ODBC version, because the new
maxdb PHP driver don't work and we don't want to change too much.

Most of the existing ODBC functions seems to work in the same way for
Adabas and MaxDB, but there are some functions, which doesn't exist
(odbc_fetch_array) or return wrong values (odbc_num_rows).

Small PHP example for odbc_num_rows:
$conn = odbc_connect("host:testdb", "testuser", "testpassword");
$result = odbc_exec($conn, "select * from testtab");
$num_rows = odbc_num_rows($result);

If I fetch the content of all rows, I get them all. But odbc_num_rows
return always -1! Is there a bug at this function?

Are there other ODBC functions at PHP 4, which don't work with MaxDB (like
odbc_fetch_array)?

Regards,
Thomas


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to