Strip new lines in PHP -


i've been working phrases past couple of days , problem seem facing stripping new lines in html before printing it.

anybody have idea how remove every new lines html using php?

str_replace(array("\r", "\n"), '', $string) 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -