SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Non-Member
    Join Date
    Nov 2003
    Location
    Watervliet, mi
    Posts
    651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    parsing line breaks from post?

    I've forgotten how to do this, I'm posting some data and I want to print it on the next page with the line breaks from the previous form still there. I've been using WYSIWYG editors in my forms for too long now I think

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2004
    Posts
    1,647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    nl2br($_POST["something"]); 
    cheers


Bookmarks

Posting Permissions

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