Anthony,
You can use a variable ($i in the example) and increment its value in the
while statement.
Then check its value - if its odd or not - this works:-)
Good luck:-))
Veselina
while($row = odbc_fetch_row($result))
{ $i++;
?>
">
odbc_result($resu
Read your mail to fast:
Change, "$posts_info=0;", into: "$posts_info++;", then you
should get alternate colors.
-Original Message-
From: Anthony Ritter
To: [EMAIL PROTECTED]
Sent: 2003-08-20 02:36
Subject: [PHP-WIN] output a table
Hi...
I'm trying to output a table with alternate bac
Nothing seams to be wrong with the syntacs, but rather the semantics:
The statment "$posts_info = 0;" makes sure you will only print one color.
$posts_info should be read from the database along with the other values.
-Original Message-
From: Anthony Ritter
To: [EMAIL PROTECTED]
Sent: 20