Displaying 1 result from an estimated 1 matches for "le_result".
Did you mean:
l_result
2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
...urce 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 right
result and the other don't if both use the same
query, same odbc configuration, same libraries files,
same
driver (freetds)
I am a complete newbie with odbc, MS SQL a...