I'm writing a new module that allows the user to enter into a form text box a large ammount of text. The data is entered into the
PN database as type text. If I view the database via phpMySQL is shows the data formatted as I entered it, with linebreaks. When I retrieve the data from the database and view it in PostNuke, it is all just sequential data, no linebreaks.
I have tried all forms of pnVarPrepHTMLDisplay and pnVarPrepForDisplay with no luck. I have been able to get it to display the
HTML break tags themselves, but I want an actual line break. The
HTML break tags are displayed when I use the following:
$row[] =
$output->
Text(pnVarPrepHTMLDisplay
(nl2br($batchitem['batch_recipe'])));
Can someone please help me on this. If you need any code snipets, let me know and I can post what you need.
Thanks,
Kurt