search for: odbc_result

Displaying 1 result from an estimated 1 matches for "odbc_result".

Did you mean: db_result
2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
...f( "SQLRowCount returns %d\n", nRowsAffected ); if ( nRows ) { printf( "%d rows fetched\n", nRows ); } } from odbc php module php_odbc.c : /* {{{ proto int odbc_num_rows(resource result_id) Get number of rows in a result */ PHP_FUNCTION(odbc_num_rows) { odbc_result *result; SDWORD rows; pval **pv_res; if (zend_get_parameters_ex(1, &pv_res) == FAILURE) { WRONG_PARAM_COUNT; } ZEND_FETCH_RESOURCE(result, odbc_result *, pv_res, -1, "ODBC result", le_result); SQLRowCount(result->stmt, &rows); RETURN_LONG(rows); } /* }}} */ so I get...