Probably a very easy question, but I am new to PHP. I have a database that I’m pulling info from. I want to display text other than the text that is in my database. For instance, say I have a value of “1” pulled from my database. I want to be able to assign a description to that so that it displays some text rather than the number “1”. So it could say like “number one” instead of “1” when displayed.
Hope this makes sense. I know I could just have another table mysql table with descriptions, but I didn’t know if there was a way to do it without creating this.
Thanks for the help.