Echo-ing MySQL content and Keep Formatting?


Posted on 16th Feb 2014 07:03 pm by admin

I have data in my MySQL such as:

QuoteBlah blah

Blah blah

etc
but when i echo it out, there is no formatting left it comes out as:

QuoteBlah blah Blah blah etc
is there an easy way to stop this?

No comments posted yet

Your Answer:

Login to answer
220 Like 54 Dislike
Previous forums Next forums
Other forums

Post, not working, please help
The error is:
Method Not Allowed
The requested method POST is not allowed for the URL /student

Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex)

Why Are These Functions Causing MASSIVE Memory Problems? Please Help!
Hi,

I have a script with some options.

I use regex to replace patterns in strings, but

Unable to display contents in Second Drop Down Box
Hi All,

What I am trying to do is 2 dependent drop down boxes and when user selects su

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

updating a single value to multiple non consecutive rows
I need to update the same value to multiple non consecutive rows. I need to add an experation date t

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

passthru() help
Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell sc

Product categories for registration
Dear all,

We are going live with the Supplier registered next week. At standard, the 'sel

Why do I get this error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5488351/public_html/b

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash