Paul Nicholson wrote: >If ($days > 30) { > $days = "<strong><font color='ff0000'>" . $days . "</font></strong>"; >}elseif ($days > 45) { > $days = "<strong><font color='ff00ff'>" . $days . "</font></strong>"; >} >
Just a side note - the elseif when used like this is superfluous. If $days is not greater than 30, then it must be 30 or less. Thus, it will never be greater than 45. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php