In a form, I use this to make it easier for the user to make a list without pressing enter...See it here: http://www.freewebs.com/moreauctions/addtext.html But when I print the contents of that textarea into a page, the contents come out a as this: • blah • blah blah I need it to be printed like this: • blah • blah blah Just need to add a linebreak before each bullet. Any help would be appreciated.
In a text area the line breaks are represented by a different code than <br /> Need to know more about what you are trying to achieve and how to be able to really help but with .Net we would use: Replace(TextboxID.Text, vbCrLf, "<br />") If memory serves me correct there is a HTML tag that will allow Text coding to be displayed correctly but I cannot remember what it is off hand
OK, let me try to explain better. I have a form where users can enter data using this: http://www.freewebs.com/moreauctions/addtext.html After they submit the form, I can later print/echo the text using $showcontent which is the variable for the textarea. Now have to somehow get the value of $showcontent, then put a <br> BEFORE each bullet. I think javascript would be best for this.