我有这个网站,我使用 php db 数据将其包含在内。这些是反馈页面上的反馈意见。我有这个:
<?php include 'writetosite.php'; ?>
现在不知何故,本节的标准格式被否决了。然后我在它周围放了一个段落标签。现在只有最后一个帖子/评论获得所需的格式。但我希望所有帖子/评论都具有这种格式。
这就是现在的样子:http: //frontline-tours.com/front20/comments_db.php
这将是包含文件:
$query = mysql_query("SELECT * FROM comments WHERE Controle = 'ok' ORDER BY id DESC");
while ($row = mysql_fetch_array($query))
{ echo "
".$row['Country'].",
".date('l \t\h\e jS \o\f F Y', strtotime($row['Date'])).",<br/><br/>
".$row['Comment']."<br/><br/>
".$row['Name']."
<br/><br><hr>";}
谢谢!