Shawn,
I haven't looked at the search results code yet, but if it is print out in
rows, this is pretty easy.
This should get you started:
$FirstColor = 1;
$Color = "First Color";
while ($Results)
{
print "<tr bgcolor = \"$Color\"><td></td></tr>";
if ($FirstColor)
{
$Color = "Second Color";
$FirstColor = 0;
}
else
{
$Color = "First Color";
$FirstColor = 1;
}
}
Kathleen
::-----Original Message-----
::From: [EMAIL PROTECTED]
::[mailto:[EMAIL PROTECTED]]On Behalf Of Shawn
::Sent: Wednesday, August 16, 2000 2:37 PM
::To: FreeTrade
::Subject: [FreeTrade] Formating search results
::
::
::Hi All;
::
::Is it possible to make the search results display in alternating colors?
::IE, have the first result have a blue background, the next a white
::background, and so on. Can this be done?
::
::Shawn
::
::
::
::------------------------------------------------------------
::To subscribe: [EMAIL PROTECTED]
::To unsubscribe: [EMAIL PROTECTED]
::Site: http://www.working-dogs.com/freetrade/
::Problems?: [EMAIL PROTECTED]
::
::
::
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]