I am reading some data from the database which are numbers.
What I need to do is to assign a name to each number ...
get the variable: ... thevar = '1';
If thevar = 1 then myname = 'name1';
If thevar = 2 then myname = 'name2';
Hope it now makes more sense.