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?

220 Like 54 Dislike
Previous php-forum Next php-forum
Other php-forum

Working with popups and such in a class
I've recently started building my applications completely enclosed in classes. I like the fact that

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

SQL Query/echo not working
Hey all,

I'm trying to run (what I thought) was a simple operation and it isn't working. I h

strtotime issue
Hey all,

I'm playing around with some code, and basically the idea is:

Person changes

Using Curl_multi for processing multiple URLs
Hi,

I am at a loss as to how to implement this. I would like to be able to automatically assi

Login Script Issues
I am using a script I got from http://phpsense.com/php/php-login-script.html in order to allow peopl

Last Weeks sDate and eDate.
sDate - Start Date
eDate - End Date

I need to pull two dates for "Last Week" whi

update the selected existing records of database
Hi frndz,
I am new to php and get stuck....

Edit.php > Update.php > Updatea

firefox wouldnt stream mp3 files completely from my php page
hi everyone,
I have a php file trying to read and stream mp3 files. It works fine in IE but my pr

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