SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    858
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Is \n\n or \r\r\n best to use between paragraphs of text in a database?

    The mySQL client I use on my Mac, Querious, adds \n\n between paragraphs while editing the contents of a column. However, the textarea HTML tag on my website inserts \r\r\n between paragraphs. Which one, \n\n or \r\r\n is more of an accepted standard for storing multiple paragraphs in a database?
    Convert your dollars into silver coins. www.convert2silver.com

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,248
    Mentioned
    59 Post(s)
    Tagged
    3 Thread(s)
    from a database perspective, whichever one you want is fine

    this is not really a database question
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"


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
  •