Home Forums PHP How to convert BR to New Line using PHP

This topic contains 0 replies, has 1 voice, and was last updated by  Usman Haider 3 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #663

    Usman Haider
    Keymaster

    BR HTML tag is used for line breaking in normal HTML. What if you want a new line inside a textarea? Here is what PHP can do for you by converting a BR tag into a new line for using in these kind of situations:

     

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.