Good afternoon, how do I turn one value into another?
In my table, I get the status return, which is 0 for active or 1 for locked.
How do I show the name Active or Blocked instead of 0 or 1
In my table, I get the status return, which is 0 for active or 1 for locked.
How do I show the name Active or Blocked instead of 0 or 1