The problem that I'm running into is that the text is being relayed to the .txt file as double line spaced and thus displaying that way in the final Flash output.
My php reads
Code: Select all
$evaluate=$_POST['evaluate'];
if($evaluate=="blogUpdate") {
$newFile=stripslashes($_POST['newBlog']);
$newFile = str_replace("\r", "\n", $newFile);
$open = fopen("blog.txt","w+");
$text="blog=".$newFile;
fwrite($open, $text);
fclose($open);
}
Thanks in advance for suggestions -
sleepydad