Hi
I am just inputting things into a database, and some of the data I have to input is in the form of a list. Unfortunately, the person who made the list (my predecessor) has done it incorrectly and it's of the form
1. Blah <br>
2. Blah2 <br>
3. Blah3 <br>
...
etc, instead of a properly formatted <ol>.
Any ideas how I might go about doing it properly, and inputting it into the database? Is the correct way of doing it to:
- remove the numbers and <br> tags
- insert an <ol> and </ol>
- insert a <li> tag at the start of each item
- upload the HTML and data to the database field
or get the data into plaintext and then add the HTML tags when retrieving it?
Either way, I don't know how to go about coding it, so please help, as it is really holding me up! (already a month late in delivering it!)