Code causing content page content to disappear

kacembouk

New Member
The code below is causing the page I am working on to return a blank page. There is other code on the page that is supposed to return content, and it does if I comment out the code below. Are there any errors in the code below?Thanks in advance,John\[code\]$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 {} \[/code\]
 
Back
Top