Hello,
Im fairly new to PHP, I have been coding with it for about 6 months now. I ran into a problem when i created a script to update a blog. The user puts their blog into a textbox and then when they hit submit it sends it to a script which then writes it to a .inc text file in their corresponding folder. The problem is that when they type it into the textbox, the script doesnt detect the enters and such and way they wanted the text to be.
EX:
Hello,
This is the
way i want to enter
text.
...
the above gets printed into the text file like so...
Hello, This is the way i want to enter text....
Here are the links to my code
Textarea source:
http://rafb.net/paste/results/LVsAwn18.html
Script Source:
http://rafb.net/paste/results/l9yDPO14.html
Thanks ahead of time.
~ROSEBLOOD