Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2006
    Location
    Essex
    Posts
    3,177
    Tokens
    0
    Habbo
    Xarea

    Latest Awards:

    Default Breakspaces by automatic email

    I have a system where if you do something, you get an email. However, I can't seem to get it to space?

    I've tried /r and <br />, but nothing seems to work?

    It comes out like:
    Hi there. Thanks for using the service. Have a great day. Ollie.
    It should come out like:
    Hi there.

    Thanks for using the service.

    Have a great day.
    Ollie.
    Any ideas, please?
    eek.

  2. #2
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Have you tried \n ?..

  3. #3

    Default

    Yeah \n should do the trick.

  4. #4
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Try \n or if that doesnt work, just cheat and do something like this

    message = "Hi there.

    Thanks for using the service.

    Have a great day.
    Ollie.";
    Lets set the stage on fire, and hollywood will be jealous.

  5. #5
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    This is where hate for OS differences come in:

    \r\n for windows.
    \r for mac os x.
    \n for linux.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  6. #6

    Default

    Quote Originally Posted by Lolcopters View Post
    This is where hate for OS differences come in:

    \r\n for windows.
    \r for mac os x.
    \n for linux.
    \n works fine for me on windows

  7. #7
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    Just do both and you are guarranteed it working :p

  8. #8
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Jme View Post
    \n works fine for me on windows
    Oh yeah that works too >_<

    \r = return carriage
    \n = new line


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •