Select Statement with output in different colors.

From: Date: Tue, 17 Jun 2003 21:34:36 +0000
Subject: Select Statement with output in different colors.
Groups: php.db 
Request: Send a blank email to php-db+get-28690@lists.php.net to get a copy of this message
I have a php script that does some select statements, on mysql, and outputs that to a table. I would like to change the color of the table row depending upon one of the fields. The select statements are from a syslog database that I have and I would like to highlight key events by changing the colors for that row. Example would be MAJOR, yellow and INFO, green. Does anybody have any examples of how to do this?

« previous php.db (#28690) next »