Built a form that submits info to a database that is retrieved later and displayed on the page. MySQL seems to ignore carriage returns or line breaks I make when submitting the forms and single/double quotes are returned as unencoded, so everything is one huge block of text in the database and messy looking when it is retrieved for display.
How to correct this? I'm using htmlspecialchars for security purposes, but I'm pretty sure this doesn't address formatting.
What SQL or PHP command do I use to address proper formatting re: paragraphs and apostrophes?