I thought that it was 0.
I am trying to take formatted text (hince multiple spaces & linefeeds) and change it to formatted HTML (hince and <BR>).
so the string
"1 2 3 4
5 6 7 8"
Will look like
"1 2 3 4<BR>5 6 7 8"
I have the carriage returns down fine but i am having trouble with the spaces.
I am using the following code:
$message =str_replace(chr(13), "<BR>", $message);
$message =str_replace(chr(0), " ", $message);
any help will be greatly appreciated.