Ashley Sheridan wrote:
Copying back the phplist *again*!
Sorry. I'll remember to copy in...
what does your code currently look like now, with the right == in?
if ($row == $entree)
elseif ($row == $beverage)
The result is that all of the text in the styled cell is green.
I know the script is running through the conditional statement, because
if I change the ELSE value of $newcolor, all of the styled cells change
to whatever color I specify there.
I went back and browsed the db table to see to make sure I had the right
row and that the entries matched my references - no probs there.
Cheers --- Phil
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php