inpostсмотрю в
phpMyAdmin никаких переносов в базе нет. Вот как записываю в БД:
$id_author = (int)$my_row['id'];
$id_post = (int)$_GET['id_post'];
$comment = trim($_GET['post']);
$comment = mysql_real_escape_string($comment);
$category = 1;
$adddate = date("Y-m-d");
$query = mysql_query("INSERT INTO `comments` id_author,id_post,comment,adddate,category)
VALUES ('$id_author','$id_post','$comment','$adddate','$category') ",$db) or die($die_error);
а вот вывод:
$comment = $result['comment'];
$comment = htmlspecialchars($comment);
$comment = nl2br($comment);
?>
<span style="font-size:13px; color:RGB(0,0,0);"><b><a href="author.php?id=<?=$author[id]?>" class="comment_blog"><?php echo $author['name']." ".$author['lname']; ?></a></b></span><br>
<?php echo $comment ?>