list data, should i format before putting into DB, or after? when outputting to page.
I just wanted to run this by the group, to get feedback / opinions
i'm adding some functionality to a shopping cart's product data.
in the product table i want to add a features list per product. what i'm questioning is this:
should i put the text into the database cell with just line breaks, and then add the mark-up
(<ul><li> etc. ) when outputting/formatting for a webpage?,
OR should i do the mark-up first and then put into the table. if i remember, it's better to not
to add HTML to the table itself, but to convert to special chars(?).
mucho thanks for feedback