1
내 웹 사이트의 기본 메시징 시스템을 코딩하려고합니다. 내가 보낸 및 reciving 설정을 가지고 있지만,받은 편지함에 어떤 이유로, html 그냥 표시를 중지합니다. 그것은 페이지의 중간에 표시 한 다음 어떤 이유로 중지합니다. 내가 페이지가 표시되지 않습니다.
을 입력하면 기본 html을 표시하지 않습니다. 안녕
표시되지 않습니다. 나는 이것이 결코 전에 일어난 적이 없기 때문에 혼란 스럽다. </table>
<p>Hello</p><!--THIS WILL DISPLAY-->
<?php
///////////End take away///////////////////////
// SQL to gather their entire PM list
include_once ('../../mysql_server/connect_to_mysql.php');
$sql = mysql_query("SELECT * FROM messaging WHERE to_id='$my_id' AND recipientDelete='0' ORDER BY id DESC LIMIT 100");
while($row = mysql_fetch_array($sql)){
$date = strftime("%b %d, %Y",strtotime($row['time_sent']));
if($row['opened'] == "0"){
$textWeight = 'msgDefault';
} else {
$textWeight = 'msgRead';
}
$fr_id = $row['from_id'];
// SQL - Collect username for sender inside loop
$ret = mysql_query("SELECT * FROM myMembers WHERE id='$fr_id' LIMIT 1");
while($raw = mysql_fetch_array($ret)){ $Sid = $raw['id']; $Sname = $raw['firstname']; }
?>
<p>Hello</p><!--THIS WON'T DISPLAY-->
<table width="96%" border="0" align="center" cellpadding="4">
어떤 도움이 이해된다 ..
EDIT :
제 루프 않지만 가까이 후 바로 테이블. 그러나 첫 번째 while 루프 외부의 모든 내용은 while 루프 내부의 모든 내용을 표시하지 않습니다.
어딘가에 PHP에 오류가있는 것 같습니다. 오류가 있습니까? – Hidde