My first attempt using $string = nl2br($string); didn't seem to work, but I figured out why. I had created a copy of my original script to test on my website, but I was going to the original script rather than the uploaded copy, which is why it did not seem to be working. Thus I apologise for wasting your time on this issue, although it was only after you posted that I realised, so with that said, thank you _