I have a string
"PRINT CHIFFON<BR /><BR />
"
I am trying to remove any newline symbols and
tags.
$i->colour_code = str_replace('<br>', '', strip_tags($i->colour_code));
$i->colour_code = str_replace('<br \/>', '', strip_tags($i->colour_code));
$i->colour_code = preg_replace("/[
]/","",$i->colour_code);
That still does not work. Any ideas will be appreciated as this issue causes the whole system stop working