1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Convert new row in a textarea to <br/>

Discussion in 'PHP' started by Kyriakos, Feb 17, 2010.

  1. #1
    Hi,
    SEMrush
    how i can convert a new row in a textarea to "<br/>"? (like facebook textarea).
     
    Kyriakos, Feb 17, 2010 IP
    SEMrush
  2. wing

    wing Active Member

    Messages:
    210
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    58
    #2
    One way is to use the nl2br function.
     
    wing, Feb 17, 2010 IP