View Single Post
  #2  
Old 22 May 2015, 19:47
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
You can either use the number returned as a key to the array, so that the last line in your example might be:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Or else you can make the array keys the values you want to get back, like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'd probably go with the first one if you can because if you use the same text you display you might run it to problems if it contains punctuation or something. If the choices are simple strings then it probably doesn't matter. Actually it might not matter either way, I guess it's just that I would do it the first way because I'm not sure.
Reply With Quote