@lists.php.net
Subject: Re: [PHP] Re: Getting Column Names from an AS400 Database
On 26-01-2012 16:40, Cheryl Sullivan wrote:
>
> Thanks for your response... I changed the $outval line to
>
> $outval = odbc_columns($rs, "DB#LIBNAME", "%", "TABLENAME", "%"
ect ?
You check if has no errors in the connection processes?
Alejandro M.S.
-Mensagem original-
De: Cheryl Sullivan [mailto:csull...@shh.org]
Enviada em: quinta-feira, 26 de janeiro de 2012 13:41
Para: Jim Giner; php-general@lists.php.net
Assunto: RE: [PHP] Re: Getting Column Names
be resource, object given
in D:\WAMP\www\directory\filename.php on line 13
-Original Message-
From: Jim Giner [mailto:jim.gi...@albanyhandball.com]
Sent: Thursday, January 26, 2012 10:31 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Getting Column Names from an AS400 Database
I
MP\www\directory\filename.php on line 13
-Original Message-
From: Jim Giner [mailto:jim.gi...@albanyhandball.com]
Sent: Thursday, January 26, 2012 10:31 AM
To: php-general@lists.php.net
Subject: [PHP] Re: Getting Column Names from an AS400 Database
I'm thinking that it should read
$rs = $conn-
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.
--
PHP General Mailing List (ht
5 matches
Mail list logo