Posted by Wayne on 06/06/06 22:58
$a = $_POST['txt_content']; # txt_content = This is a<CR><LF>Test
$p = str_replace ("%0D%0A", "<br>", $a);
That is the above code that I am using, however, it is not picking up
the CR/LF from the textarea. I have also attempted singular variations
of the CR/LF combination and even reversed the sequence without success.
Is it possible that it may be encoded differently and if so what is it?
Thanks
Wayne.
[Back to original message]
|