I have a field in a database that has a carriage return. It is an address (although it could be anything) and it is the following two lines:
8923 Chowsnik Dr.
If you take the two lines above, you will also take the empty line that it has below the address as well. This is what is in the database.
Now, in php, I need to eliminate this extra carriage return white space. I have tried trim, str_replace(\n\r, etc...
But, nothing seems to work. I am using the return along with a jquery flexigrid control and this is what is not liking that extra carriage return.
So, is there anything I can do to get rid of this dead space at all?