Aşağıdaki kodu boş bir sayfa dönmek için üzerinde çalışıyorum sayfasını neden oluyor. Orada içerik dönmek gerekiyordu sayfadaki diğer kodu ve aşağıda kod dışında bir açıklama eğer öyle. Aşağıdaki kodda herhangi bir hata var mı?
Teşekkür peşin,
John
$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 {
}