下面的代碼導致我正在處理的頁面返回空白頁面。頁面上還有其他代碼可以返回內容,如果我註釋掉下面的代碼,就會出現這樣的代碼。下面的代碼中是否有錯誤?導致內容頁面內容消失的代碼
由於提前,
約翰
$querysub = mysql_query("SELECT subcheck FROM submission WHERE submissionid = $submissionid");
$result = mysql_query($querysub);
if (!$result) {
die 'Could not run query: ' . mysql_error();
}
else{
$subcheck = mysql_result($result, 0);
}
if($uid = $submittor)
{
if($subcheck = 1)
{
echo '<div class="commentnotify">You submitted item story and you have chosen to receive emails when someone comments on it.<a href="http://www...com/.../comments/commentnotifystop.php?submission='.urlencode($row["title"]).'&submissionid='.$row["submissionid"].'&url='.$row["url"].'&countcomments='.strtoupper($row["countComments"]).'&submittor='.$row["username"].'&submissiondate='.$row["datesubmitted"].'&dispurl='.$row["displayurl"].'">Click here to stop.</a></div>';
} else {
echo '<div class="commentnotify">You submitted this item and you have chosen not to receive emails when someone comments on it.<a href="http://www...com/.../comments/commentnotifystart.php?submission='.urlencode($row["title"]).'&submissionid='.$row["submissionid"].'&url='.$row["url"].'&countcomments='.strtoupper($row["countComments"]).'&submittor='.$row["username"].'&submissiondate='.$row["datesubmitted"].'&dispurl='.$row["displayurl"].'">Click here to start.</a></div>';
} else {
}