Hi everyone and thanks for taking the time to read.
There's a specific section of my website that I would like to be dynamic. It has the possibility of having one or two paragraphs, possibly even more. What I had done was set up a MySQL database with a field in a table called "description" and then in that field, I typed text literally like this:
<p>hello everyone</p><p>my name is Anthony</p>
Now when I use
<?php echo $row['description']; ?>
then those two paragraphs will appear correctly in the browser window, but in the source, PHP will have echoed them out on the same code line. I want this to be neater, and not have one massively long line of code.
At first I thought I would need to put each paragraph in an individual field of the table, and echo them all out individually but that just sounds silly, there must be a better approach than what I'm doing.
Can anyone help me?
Any help is appreciated.