Bucknum [mailto:[EMAIL PROTECTED]]
Sent: April 15, 2002 10:29 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Re: Need row number from database select
Keep track of it outside of the function in a global variable.
> -Original Message-
> From: SP [mailto:[EMAIL PROTECTED]
t;documents" with your "directories", or whatever unit you're dealing
with. Let me know if this was helpful. :)
Thanks!
- Joel
-Original Message-
From: SP [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 5:32 PM
To: Aj Lavin
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP
er of
digits you assign per level. Also why are you using a hex?
-Original Message-
From: Aj Lavin [mailto:[EMAIL PROTECTED]]
Sent: April 15, 2002 3:24 PM
To: SP
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Need row number from database select
On Sun, Apr 14, 2002 at 09:27:50PM -040
umber variables keeping track of the running total for their
respectively page, right?
-Original Message-
From: Kevin Bucknum [mailto:[EMAIL PROTECTED]]
Sent: April 15, 2002 10:29 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Re: Need row number from database select
K
Keep track of it outside of the function in a global variable.
> -Original Message-
> From: SP [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 14, 2002 8:28 PM
> To: David Robley; [EMAIL PROTECTED]
> Subject: RE: [PHP] Re: Need row number from database select
>
>
number for each
of the result returned so I could change the color depending if it was odd
or even.
Any other suggestions?
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: April 14, 2002 6:50 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Re: Need row number from databas
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> I am displaying a folder tree and want to alternate the colors for each
> folder so my database table shows that for example the Apples folder is
> located under the Fruits folder. Therefore I want to know which row is odd
> or even so
ree($output, $cat->id, $indent." ");
}
}
-Original Message-
From: John Simpson [mailto:[EMAIL PROTECTED]]
Sent: April 14, 2002 7:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Need row number from database select
If you know you're looking for Bob or Mike or John, you could select the
row
If you know you're looking for Bob or Mike or John, you could select the
rows each time in your loop as an associative array.
mysql_fetch_array(result, MYSQL_ASSOC)
will do the trick.
"Sp" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If this is my database
9 matches
Mail list logo