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", "%"

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

2012-01-26 Thread Maciek Sokolewicz
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() expects parameter 1 to be resource, object given in D:\WAMP\www\dir

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

2012-01-26 Thread Cheryl Sullivan
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() expects parameter 1 to be resource, object given in D:\WAMP\www\directory\filename.php on line 13 -Origin