I want to remove all enters from an input and replace them with a single space. By that I mean something as </br>. So if someone places the input like this
Hello, my name is bob.
How are you?
It will look like this,
Hello, my name is bob. How are you?
How can this be done in php?