php 4.2.1. On the php.net website, the odbc_fetch_array webpage, it stated
that it become unavailable with around php 4.1.1. Some of the other odbc
functions became unavailable also.
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tu
unixODBC base
install directory, defaults to /usr/local.
Dan
-Original Message-
From: Analysis & Solutions [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 10:50 AM
To: PHP List
Subject: Re: [PHP] Re: odbc_fetch_into ??
On Tue, Jul 02, 2002 at 11:59:
On Tue, Jul 02, 2002 at 11:59:59AM -0400, Scott Fletcher wrote:
> That function, odbc_fetch_array() does not work. PHP spit out the error,
> undefined function.
Huh? Which version of PHP are you using? It's available in 4.0.2 or
greater. Did you misspell the function name?
--Dan
--
That function, odbc_fetch_array() does not work. PHP spit out the error,
undefined function.
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Scott:
>
> On Tue, Jul 02, 2002 at 10:05:31AM -0400, Scott Fletcher wrote:
> > I tried this scri
Hi Scott:
On Tue, Jul 02, 2002 at 11:08:30AM -0400, Scott Fletcher wrote:
> That's a great idea!
Good.
> I have one little problem. If I do the odbc_fetch_array then I
> can't include two tables because of the two of the same column name.
In your query, rename the fields using an AS statement
That's a great idea! Less hassle to deal with updating the defines() over
the time. I have one little problem. If I do the odbc_fetch_array then I
can't include two tables because of the two of the same column name. Look
like I'll have to use one array for one table and one other array for one
Scott:
On Tue, Jul 02, 2002 at 10:05:31AM -0400, Scott Fletcher wrote:
> I tried this script and it showed all of the data correctly, so how do I
> make the define variable to work correctly?
>
> > define(CUSTOMER_ID,0);
> > define(CUSTOMER_NAME,1);
> > define(STATE,6);
> >
> > // blah blah blah
I tried this script and it showed all of the data correctly, so how do I
make the define variable to work correctly?
--clip--
// 97 columns are used, so I used 98 to stop the loop (this loop is for
testing only)
for($x=0;$x<98;$x++)
{
echo $user_detail[$x]."";
}
--clip
8 matches
Mail list logo