Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jan 2009
    Posts
    45
    Thanks
    3
    Thanked 0 Times in 0 Posts

    How to get enter to work?

    http://webmasters.webatu.com/

    Now, once you type in your message in the message box and click submit, it gives your text. But when you try and add spaces like:

    Code:
    Hey.
    
    This is a space test.
    The spaces won't work. I'm using POST, and GET doesn't work either. Any possible way to get spacing to work?

  • #2
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Have you viewed the output (HTML source) and can confirm it is all on one line? I'll bet the new lines are there, but without some type of HTML formatting -- like <br /> tags for example -- everything will appear on one line till it wraps on the right.

    CHeck out http://www.php.net/nl2br
    Last edited by kbluhm; 10-10-2009 at 11:18 AM.

  • #3
    New Coder
    Join Date
    Jan 2009
    Posts
    45
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by kbluhm View Post
    Have you viewed the output (HTML source) and can confirm it is all on one line? I'll bet the new lines are there, but without some type of HTML formatting -- like <br /> tags for example -- everything will appear on one line till it wraps on the right.

    CHeck out http://www.php.net/nl2br
    Sorry, but, I don't understand what that or you are saying.... :/

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by SRBuckey5266 View Post
    Sorry, but, I don't understand what that or you are saying.... :/
    Have you checked that link?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New to the CF scene
    Join Date
    Aug 2009
    Location
    Ottawa, ON
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    " Success or defeat is just the result ... What is important is the Quality of Fight."

  • #6
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by mark88 View Post
    " Success or defeat is just the result ... What is important is the Quality of Fight."
    ..and what?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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