$LINENOTES= str_replace("\r\n", "", $LINENOTES);
$LINENOTES= str_replace("\r", "", $LINENOTES);
$LINENOTES= str_replace("\n", "", $LINENOTES);
echo "Notes: $LINENOTES<BR>";
$LINENOTES is the text from a textarea field.
I'm trying to strip out all the linebreaks, and it's not working..
Any suggestions?