MAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 08, 2001 10:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Row colors
Hello Mike
On Mon, Apr 09, 2001 at 12:08:10AM +, Mike P wrote:
> I can change the column sof a table with the following code but how do I
> change the row colors instead.With the columns I have "i" to manipulate but
> not with rows.
>
> while ($row = mysql_fetch_row($result))
> {{
> echo "\n";
>
EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 6:30 PM
To: Harshdeep S Jawanda; Mike P
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Row colors
Something like this could work also:
"
- Original Message -
From: "Harshdeep S Jawanda" <[EMAIL PROTECTED]>
To: "Mike P&q
Something like this could work also:
"
- Original Message -
From: "Harshdeep S Jawanda" <[EMAIL PROTECTED]>
To: "Mike P" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 1:11 AM
Subject: Re: [PHP] Row colors
> H
Hi,
Just make the modification listed below:
while ($row = mysql_fetch_row($result))
{
$cell_color = ++$i % 2 ? "#C0C0C0" : "#CC";
echo "\n";
for ($i =1;$i$row[$i]";
}
}
Mike P wrote:
> I can change the column sof a table with the following code but how do I
> change the row colors
Hello Mike,
On 08-Apr-01 21:08:17, you wrote:
>I can change the column sof a table with the following code but how do I
>change the row colors instead.With the columns I have "i" to manipulate but
>not with rows.
>while ($row = mysql_fetch_row($result))
>{{
> echo "\n";
> for ($i
April 08, 2001 8:11 PM
> To: Mike P
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Row colors
>
>
>
>
> --Joe
>
> On Mon, Apr 09, 2001 at 12:08:10AM +, Mike P wrote:
> > I can change the column sof a table with the following code but how do I
> > chang
see changes
Gfunk - [EMAIL PROTECTED] - http://www.gfunk007.com/
- Original Message -
From: "Mike P" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 09, 2001 10:08 AM
Subject: [PHP] Row colors
--Joe
On Mon, Apr 09, 2001 at 12:08:10AM +, Mike P wrote:
> I can change the column sof a table with the following code but how do I
> change the row colors instead.With the columns I have "i" to manipulate but
> not with rows.
>
> while ($row = mysql_fetch_row($result))
> {{
> ech
9 matches
Mail list logo