I want to sincerely thank everyone for your replies. This fix worked for me and it was very easy. Thank you for helping me take these baby steps into programming applications for my website.
I hope I can be of help once I learn this for myself.
Sincerely,
John
melmoth wrote:
You can change newline to with the
nl2br() function.
$comments=nl2br($comments);
print $comments;
Have a look at the php documentation, string functions references.
htmlentities() and htmlspecialchars() may also be usefull.