Re: [PHP] Different colors on lines

2002-06-13 Thread Miguel Cruz
On Fri, 14 Jun 2002, Bård Tommy Nilsen wrote: > Can anyone help out with this ?? > > Since i do the search after the query, there is an problem if line 1 in the > Sql table matches, line 2 does not, but line 3 does. > > Then the result will display the same color on the two lines > That would be

Re: [PHP] Different colors on lines

2002-06-13 Thread Chris Bunting
Hello, Check out the following link. http://www.zend.com/codex.php?CID=322 There are various code examples for alternating table backgrounds. Hope this helps, Chris Bunting _ Send and receive Hotmail on your mobile device: http:/

RE: [PHP] Different colors on lines

2002-06-13 Thread Martin Towell
uot;Name"); if (eregi ($Search, $Name)) { Echo ''; $j++; } $i++; } -Original Message- From: Bård Tommy Nilsen [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 4:21 PM To: '[EMAIL PROTECTED]' Subject: [PHP] Different colors on lines Can anyone help out wi

[PHP] Different colors on lines

2002-06-13 Thread Bård Tommy Nilsen
Can anyone help out with this ?? Since i do the search after the query, there is an problem if line 1 in the Sql table matches, line 2 does not, but line 3 does. Then the result will display the same color on the two lines That would be printet in this example. How can i make sure that it wil