There are 2 ways that i can think of to do this.
You could write a php case statement to return a certain string, based on the value input, or you could use a reference table in your database, whose id corresponds to the security level, and use a joined table in your query