0

I have a quick question please Ladies & Gents if you dont mind, When I am displaying my data on page I sometimes use nl2br to help with the output format.

$cpstatement = nl2br($cpstatement);

On one of my query results that I echo out has {$row->duties} - This allows me to echo out the data from the duites column from my database.

How can I add the nl2br to {$row->duties} to help with how the database is presented and displayed on my results.
Thanks...

3
Contributors
2
Replies
15
Views
3 Years
Discussion Span
Last Post by Dani
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.