how to remove a character and replace it in php code example
Example: php replace return character
$string = str_replace("\n", "", $string);
$string = str_replace("\r", "", $string);
$string = str_replace("\n", "", $string);
$string = str_replace("\r", "", $string);