Start ::
Developers Corner ::
Module Development ::
Preserving Input Format
Moderated by: Support Team
-
- rank:
-
Freshman
- registered:
- June 2004
- Status:
- offline
- last visit:
- 04.10.06
- Posts:
- 24
I have created a new module. One problem I am having the preservation of the forma tof the text that input form the form. I am a novice to PostNuke, but have some experience with PHP and MySQL.
I have tried using the pnVarPrepFroStore before the data is INPUT to the database. I have also tried pnVarPrepForDisplay when printing the text to the page. However, the returns are not preserved.
Can someone point me in the right direction? -
- rank:
-
Helper
- registered:
- June 2002
- Status:
- offline
- last visit:
- 09.09.08
- Posts:
- 288
To show the returns, you need to use the nl2br modifer
-----
cyber_wolf
http://www.bkbsolutions.com - My Zikula module development site.
Start ::
Developers Corner ::
Module Development ::
Preserving Input Format
