How to make an unordered list from a database record?
Posted on 2008-11-13
I'm currently working on a real estate application and I need to populate information on a detail page with bulleted (unordered list) details about the house. The process works like this, user fills out an input form to insert the listing into the database, the database returns information on detail page.
The problem I'm having is- Being that the bulleted list will vary with each house I can't have a set number of feilds (bullet1 feild, bullet2 field and so on) so I was thinking of using a multiline text feild on the form page and inserting the bulleted list and hopeing to parse out each bullet (list item) by checking for a carrige return in the database record. I have no idea how to go about doing such a thing.
Recap, I need a way to auto popluate bulleted text from one record in a database (text with carriage returns. I hope this make sense.