Date: 09/14/00
- Next message: Patrick Aland: "Re: [PHP-DEV] doc_root problem"
- Previous message: Comeau, Michel: "RE: [PHP-DEV] doc_root problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: mikebp <email protected>
Operating system: Win32
PHP version: 4.0.2
PHP Bug Type: ODBC related
Bug description: Incorrect ARGC in function odbc_columns - php_odbc.c
Hi,
I just tried to use the php_odbc module under Win32 (WinNT 4.0 sp5, although that isn't an issue here) and noticed that the documentation for odbc_columns dissagrees with the actuall source code for the php function. The doco specifies:
int odbc_columns (int connection_id [, string qualifier [, string owner [, string table_name [, string column_name]]]])
However, looking at the code the odbc_columns function will only work if the argument count has 1 or 5 arguments. This doesn't help with the last column not being known (as would probably be the case most of the time when people want to retreive a list of column name that are currently unknown at run-time).
I noticed the doco does allow the user to specify a "%" wildcard character, so there IS a work around.
Could you please look into this for me?
Cheers,
Mike Berry-Porter
mikebp <email protected>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Patrick Aland: "Re: [PHP-DEV] doc_root problem"
- Previous message: Comeau, Michel: "RE: [PHP-DEV] doc_root problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

