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

Posted December 3, 2019 392 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 ?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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!