I have a php page that displays data from a mysql DB. Fields are
I want to list usernames in a listbox. I know thats not a tough job but I want to give different colors (or background color) to usernames with different designation.
ie. All usernames with designation "Teamleader" should have same color and "Manager" should have different color.
Can someone help me?...