I am having trouble getting my website to display a database entry correctly. I am copying and pasting formatted text with line breaks into my MySQL database. If I view the entry in terminal it will display the information correctly with the line breaks. When I view in the browser though It is all output as though it ignores all formatting rules and makes it one long string of text that just hits the edge of the DIV and creates a new line with no formatting what so ever. I am new to this so if my question seems vague I apologize in advance just ask for any additional information you might find useful to provide an accurate solution. Thanks!
Text Im pasting into MySQL database it is output in the description field:
In 1930, Charles Hyde and David Vredenburg opened a small general store in Beaconsfield, Iowa. That store grew to become Hy-Vee – a company known for excellent service and low prices. As an employee-owned company, Hy-Vee encourages each of our more than 56,000 employees to help guide the company.
Our outstanding success demonstrates their hard work and clear vision. Through their efforts, the name Hy-Vee has become synonymous with quality products, low prices and superior customer service. Our slogan, “A Helpful Smile In Every Aisle,” expresses the foundation of our corporate philosophy.
Hy-Vee is a touchstone for Midwest consumers’ desire for information on diet, nutrition and wellness topics. HealthMarket departments featuring natural and organic products; the consulting services of in-store dietitians; the NuVal Nutritional Scoring System; consumer and employee wellness programs; and the Hy-Vee Triathlon underscore the company’s commitment to healthy lifestyles.
Our corporate office is located in West Des Moines, Iowa. The Hy-Vee campus includes a 12,000-square-foot conference center for meetings, training and continuing education programs.
Our distribution operations are based in Chariton, Iowa, where we have more than 1.5 million square feet of state-of-the-art warehouse space. Another large distribution center, encompassing 650,000 square feet of space for dry food products and general merc, is located in Cherokee, Iowa.
With sales of more than $7.3 billion and more than 235 retail stores across eight Midwestern states, Hy-Vee ranks among the top 20 supermarket chains and the top 50 private companies in the United States. Supermarket News, the authoritative voice of the food industry, has honored the company with a Whole Health Enterprise Award for its leadership in providing services and programs that promote a healthy lifestyle.