$string = preg_replace('@[\s]{2,}@',' ',$value); $string = trim(str_replace(array("/\n|\r/","\""),array("", "'"), $string));
Friday, June 15, 2012
Remove new line php
Posted by
Unknown
at
4:24 PM
I'll many way to remove new line in php.
Some version not working in some code.
Below is code almost working well
Subscribe to:
Post Comments (Atom)