RE: [PHP] Re: Need row number from database select

2002-04-17 Thread SP
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]

RE: [PHP] Re: Need row number from database select

2002-04-16 Thread Joel Caturia
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

RE: [PHP] Re: Need row number from database select

2002-04-15 Thread SP
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

RE: [PHP] Re: Need row number from database select

2002-04-15 Thread SP
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

RE: [PHP] Re: Need row number from database select

2002-04-15 Thread Kevin Bucknum
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 > >

RE: [PHP] Re: Need row number from database select

2002-04-15 Thread SP
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

RE: [PHP] Re: Need row number from database select

2002-04-14 Thread David Robley
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

RE: [PHP] Re: Need row number from database select

2002-04-14 Thread SP
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

[PHP] Re: Need row number from database select

2002-04-14 Thread John Simpson
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