# Text display

**URL:** <https://forum.kirupa.com/t/text-display/195603>\
**Category:** programming\
**Created:** [August 1, 2006, 9:17pm UTC](https://forum.kirupa.com/t/text-display/195603 "2006-08-01T21:17:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkohne](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@mkohne](https://forum.kirupa.com/u/mkohne)\
**Post date:** [August 1, 2006, 9:17pm UTC](https://forum.kirupa.com/t/text-display/195603/1 "2006-08-01T21:17:00Z")

</div>

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.
