When I echo this result it looks like this:John jumped over the moon.
John tripped when landing.
I was wondering if there was a way for PHP to treat the returns in the record as <br> tags or hard returns in HTML. I didn't want to have to go and place <br> tags in the records. Here is my echo:John jumped over the moon. John tripped when landing.
Code: Select all
<?php
echo $row_detailsArticle['content'];
?>