si ci gira tranquillamente
mi sa che è solo un problema di cursor_type
da php manual
resource
odbc_connect ( string dsn, string user, string password [, int cursor_type] )
Returns an ODBC connection id or 0 (
FALSE) on error.
With some ODBC drivers, executing a complex stored procedure may fail with an error similar to: "Cannot open a cursor on a stored procedure that has anything other than a single select statement in it". Using SQL_CUR_USE_ODBC may avoid that error. Also, some drivers don't support the optional row_number parameter in
odbc_fetch_row(). SQL_CUR_USE_ODBC might help in that case, too.
ho provato ad impostare i valori (es 2) ma ritorna sempre un false