Results 1 to 12 of 12

Thread: str_replace and <br> *resolved*

Threaded View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    str_replace and <br> *resolved*

    on page1.php, I have a <textarea>. The user can put in anything there, even new line characters. I want to use the str_replace function to replace any occurences of new line characters with "<br>"

    How can I do this? (I'm guessing that vbCrlf isn't the correct one)
    Last edited by mendhak; Feb 6th, 2003 at 06:07 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width