longwind
|
Posted: 11/03/2003, 10:08 AM |
|
I use CodeCharge 2.0 (Not CodeCharge Studio), perl, and mysql.
The format of my articles from my database are lost.
For example:
if my article in database is:
HelloThere
HelloThere
No matter if I keep the ToHTML()function or delete it, the display would be:
HelloThereHelloThere
To keep the format, what I am doing now is manualy adding a <br> tag at the end of each paragraph of my article, and deleting the corresponding ToHTML function. But it is very inconvenient. Can anybody tell me how to solve this problem? Thanks.
|
|
|
ryan
|
Posted: 11/03/2003, 4:31 PM |
|
there is a setting for display as HTML right? In CC, not display as text
locate your control (label) then display that as HTML maybe it's displayed as text :)
|
|
|
longwind
|
Posted: 11/04/2003, 5:48 PM |
|
ryan, thank you for replying.
The label control of that article content field was set to html, but the article's format was lost when displayed. Is there any requirement for input? I input the article content using a textarea control. Is that the problem? Thanks.
|
|
|
ryan
|
Posted: 11/04/2003, 8:43 PM |
|
yes it is problem that is why I said label,
other controls, non-label controls (input, textarea,listbox) do not apply
|
|
|
|