|
Formatting paragraphs from output from mysql
Hi Guys. Can't seem to understand how to use the nl2br function that seems to be the answer to formatting my text outputted from the database. I have little knowledge about coding and have been relying on Dreamweaver to get me by on the small requirements I need it for in this area. My field that needs formatting reads <span class="textcontent"><?php echo $row_rshiking['descriptionh']; ?></span> but I don't know where to implement the "nl2br" function and have tried after the echo. Any help much appreciated.
|