Hi. Have a question:
I've tried using the odbc_columns() function to get a list of columns in an
access database connected via an ODBC System DSN.. However, I haven't had
much luck in trying to use it. The manual page doesn't really cover much
about it, and I noticed a few comments posted
Hi,
Does anyone manage to get odbc_columns(). If you so, can you give me an
example, what version of PHP you are using?
I've tried various combination of odbc_columns() and never get it to work.
Any help would be greatly appreciated.
Thank you,
--kent
--
PHP Database Mailing List
I am trying to get the column names of some tables with odbc_columns from
MSSQL 2000.
As I extract a particular column from the result set, the browser hangs.
html
body
?
$con = odbc_connect("mydatabase", "christopher", "");
$result = odbc_columns($con, "mydatabase", "dbo",
Yo ho hoodbc_columns() on DB2!
Now, it returns a resource ID, as expected but you cannot call
odbc_fetch_row() on it or it'll segfault. Hmm..
I filled out a report on this, since I cracked open the php_odbc.c file
and verified that all the data's coming back from DB2, and that the