Im trying to run a simple script that will take spaces out between text. I am trying to convert it from one text area to another.
Example:
This would be where some text is.
This is where more text is.
And again more text.
output
This would be where some text is.
This is where more text is.
And again more text.
I don't know where to start as far as writing something to take embeded breaks out. I am assuming something with IF statements, but how to word it I am not sure.
If you can set me in the write direction that would be greatly appreciated.
New to PHP, need help
Moderator: General Moderators