Jump to content

Saving Data


SoireeExtreme

Recommended Posts

I'm setting up a web page sort of like an editor. In this editor just like any other you can type in coding and turn it into a web page and such. And when you click on a link it is suppose to show the page.

 

My problem here is when the coding is saved to the database it gets changed a bit. Where there are spaces or a new line is put in between the coding I get some letters "rn".

 

I've tried changing the database setting the browser transformation to text/plain: formatted. And I still ended up with the same problem.

 

Is there anyone that can help solve my problem? If this isn't a mysql problem please let me know as I assume it is.

If there is anymore information needed please let me know. Thanks in advance for any help.

Link to comment
https://forums.phpfreaks.com/topic/60879-saving-data/
Share on other sites

Well when I click the save button for it to save to the database rn is what is put in the place of spaces or new lines. And all the text and coding is bunched together like one be block.

 

Stripped or not I wouldn't know. I'm still learning php and mysql. So that means just about nothing to me. lol.

 

Anyone have any idea how to help? It would be great appreciated.

Link to comment
https://forums.phpfreaks.com/topic/60879-saving-data/#findComment-303859
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.