in reply to Re^5: Sorting Issue
in thread Sorting Issue
Hi,
There isn't nothing more to it, the variable $status get a letter value that can be one of the letter on the code and the regular expression just do the substitution based on the value of the letter found: like if $status equal letter P|F|C|D|I it should print "Posted" and if $status equal letter A it should print (Display) "Accepted" and so on like on the code I submitted.