Re: Getting Column Names from an AS400 Database

From: Date: Thu, 26 Jan 2012 15:31:20 +0000
Subject: Re: Getting Column Names from an AS400 Database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-316404@lists.php.net to get a copy of this message
I'm thinking that it should read $rs = $conn->execute($q); $outval = odbc_columns($rs, "DB#LIBNAME", "%", "TABLENAME", "%"); You need to provide the results of the query to the odbc_columns, not the connection object. Just my guess since I've never used this.

« previous php.general (#316404) next »