How to display articles well managed which is stored in mysql?

December 3, 2019 74 views

I am using html, css, php and mysql.
When I fetch article from database, it does not look good. I want to display according to I need like..
text wrap, line break, font size etc..

How I can ?

1 Answer


One thing that I could suggest is using a What You See Is What You Get (WYSIWYG) editor to store your article’s body in MySQL. That way it would include all of the HTML tags like paragraphs, line breaks and etc. so when you print them afterward, the article should display as normal.

Hope that this helps!

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!