Soldato
- Joined
- 13 Feb 2004
- Posts
- 2,656
- Location
- South Shields
I'm trying to display a large field of data in a text box but woud like it to be formatted upon the page loading.
For example..
In my database I have the following entry -
I would preferably like it to be formatted within a text box on the page to be displayed like so -
However it always displays as follows -
I am trying to create a menu for a restuarant but require a admin end where the data can be customised.. hence the <li> tags..
However I think it would look better if the text was preformatted.
Could this be done with a form of "input mask" or something similar?
Thanks for looking..
For example..
In my database I have the following entry -
ID
1
Data
<li>xxxxx</li><br><li>xxxxx</li><br><li>xxxxx</li><br><li>xxxxx</li><br>
I would preferably like it to be formatted within a text box on the page to be displayed like so -
<li>xxxxx</li><br>
<li>xxxxx</li><br>
<li>xxxxx</li><br>
<li>xxxxx</li><br>
However it always displays as follows -
<li>xxxxx</li><br><li>xxxxx</li><br><li>xxxxx</li><br><li>xxxxx</li><br>
I am trying to create a menu for a restuarant but require a admin end where the data can be customised.. hence the <li> tags..
However I think it would look better if the text was preformatted.
Could this be done with a form of "input mask" or something similar?
Thanks for looking..