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

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.