Whenever there is a space in between the post it soows rn. This is how I read the insert data:
$content_of_post_original = mysql_real_escape_string($_POST['post_content']);
$content_of_post = stripslashes($content_of_post_original);
And then printed:
echo $show['post_content']
\r\nmeans a new line. Your strip slashes is removing this and just echoingrninstead of a new line.Check out: http://php.net/manual/en/function.nl2br.php