Jump to content

[SOLVED] MySQL output problem


Fsoft

Recommended Posts

Hello,

 

I use a HTML form and when I write data, to my database..

This is a test article.
Everything should look like this.
Life is good, I love my life.

 

 

But when I get back the result, it gives me :

 

This is a test article.rnrnEverything should look like this.rnrnLife is good, I love my life.

 

 

Please help me.. I really need help, why it's giving me this text like this?

 

Thanks,

FAISAL!

Link to comment
Share on other sites

Well, I removed the stripslashes from my security function :

 

Now when I go to mysql database and see , I can find :

 

nwwsci.png

 

But when I see in my output file, I see :

he is cool you are not lke him he is the best

 

It just gives up the text in one line. But in real, it is in three lines :( that is confusing :(

 

Please help.

 

FAISAL!

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.