I got it working heh. When I tried to print the string it would omit all those characters, but somehow i was searching for the tab char in the php manual pdf i dled from php.net, and I came across strtok($string, "search chars"). I was gonna search for the chars and print them in the html <br> format, but strtok() did me one better. I could search for those chars and then insert <br> wherever it found the "\n" and "\r" characters. Plus I could also include code so you could type %quote% and %/quote% and it would format the text quote style and I could edit out multiple enter pushing. Check this out [%(/)quote% must each be on thier own line]:
<?php
global $NewText;
//start the token
$tok = strtok($TextEntry, "\n\r");
while($tok){
//if the token yielded a linefeed or carriage return [hence "enter pusher"]
if($tok == "\n\r"){
//do strtok again to just skip over it, don't append it to $NewText
strtok("\n\r");}
//if the token yielded a %quote%, start "QuoteMode!" bum bum bum!
if(strstr($tok, "%quote%")){
//the skip to the next yield, we don't want to print %quote
$tok = strtok("\n\r");
//set up the font settings in html
$NewText .= '<font color="orange"><i>';
//run until you hit the %/quote%
while(!strstr($tok, "%/quote%")){
//append the contents to $NewText
$NewText .= "$tok<br>";
//NEXT!!
$tok = strtok("\n\r");}
//the loop exited, and $tok = "%/quote%", so skip so we don't print it
$tok = strtok("\n\r");
//end the text formatting
$NewText .= '<br></i></font>';}
//if it wasn't anything fancy, it was a regular new paragraph
else{
//append to $NewText, indent it with non-breaking spaces, add two lines
$NewText .= " $tok<br><br>";
//NEXT!
$tok = strtok("\n\r");}
}
//There are no more tokens, so print the final result
Print "$NewText";
?>