RE: [PHP] Row colors

2001-04-09 Thread Jerry Lake
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

Re: [PHP] Row colors

2001-04-09 Thread Jason Stechschulte
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"; >

RE: [PHP] Row colors

2001-04-09 Thread Maxim Maletsky
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

Re: [PHP] Row colors

2001-04-09 Thread Rikul
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

Re: [PHP] Row colors

2001-04-08 Thread Harshdeep S Jawanda
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

Re: [PHP] Row colors

2001-04-08 Thread Manuel Lemos
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

Re: [PHP] Row colors

2001-04-08 Thread Joe Stump
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

Re: [PHP] Row colors

2001-04-08 Thread Gfunk
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

Re: [PHP] Row colors

2001-04-08 Thread Joe Stump
--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