search for: pv_res

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

Did you mean: v_res
2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
...owsAffected ); 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 confuse, why an odbc client get the r...