CKEditor将不显示回声功能


CKEditor will not show echo function

我在博客中实现了Ckeditor,我有一个"编辑页面"。在那个页面上,我想得到我写的文本,这样我就可以很明显地编辑它,问题是它没有显示出来,就像其他文本一样,这是我连接后的代码等:

while($row = mysqli_fetch_array($run)) {
$title = $row['title'];
$body = $row['body'];
$tag = $row['tag'];
$description = $row['description'];

}

?>

<html>
<head>

<title>Editare Postare</title>
<script src="//cdn.ckeditor.com/4.4.7/standard/ckeditor.js"></script>
</head>

<body>
<form method="post" action="edit_approval.php">

Titlu: <input type="text" name="title" value="<?php echo $title; ?>"><br>
Descriere: <input type="text" name="description" value="<?php echo    $description; ?>"><br>
Continut: <br><textarea name="body" value="<?php echo $body;?>"></textarea>
<script>CKEDITOR.replace( 'body' );</script>
Tag: <input type="text" name="tag" value="<?php echo $tag; ?>"> <br>
<input type="hidden"  name="id" value="<?php echo $id; ?>"><br><br>
<input type="submit" value="approved">
<input type="submit" value="unapproved">

</form>
</body>
</html>

文本区域的有效html为:

<br><textarea name="body" ><?php echo $body;?></textarea>

通常使用rows="4" cols="50",但ckeditor将有自己的设置,但对于回退,您可能需要它们