I am looking for ways to format information from a mysql database into HTML. For instance if someone enters the following info in text box that will be inserted into a mysql table how do i retrieve it in a nice, formatted <li>fashion</li>.
The following goes into database from a textarea:
feature 1
feature 2
feature 3
feature 4
feature 5
feature 6
then it is retrieved with PHP and desired to be in the <LI> format like this:
<UL>
<LI>feature 1</LI>
<LI>feature 2</LI>
<LI>feature 3</LI>
<LI>feature 4</LI>
<LI>feature 5</LI>
<LI>feature 6</LI>
</UL>
How do I read this sort of data that is all in one "TEXT" entry in a database into HTML?
- thank you very much - Paul