RE: [PHP] Re: Getting Column Names from an AS400 Database

2012-01-27 Thread Cheryl Sullivan
@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, %); ...but still got the same error - Warning: odbc_columns

[PHP] Re: Getting Column Names from an AS400 Database

2012-01-26 Thread Jim Giner
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

RE: [PHP] Re: Getting Column Names from an AS400 Database

2012-01-26 Thread Cheryl Sullivan
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-execute($q); $outval = odbc_columns($rs, DB#LIBNAME

Re: [PHP] Re: Getting Column Names from an AS400 Database

2012-01-26 Thread Maciek Sokolewicz
\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-execute($q

RES: [PHP] Re: Getting Column Names from an AS400 Database

2012-01-26 Thread Alejandro Michelin Salomon
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 from an AS400 Database Thanks for your response