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)
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
Post a Comment