here is what I am attempting:
in a mysql database, i have two fields (priority and status) where I enter numbers.
In the php script to display the data, i want it to interpret the numbers to their meanings (e.g 0=not high, 4=high, 5=cancelled, etc.)
am i correct in assuming that i should make a function, put the numbers into an array and have the function interpret that? does this make sense? it's confusing me.....
because i can't just say if 0 spit out not high, becayse the numbers for priority and status have different meanings......