Code causing content page content to disappear
<p>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?</p>

<p>Thanks in advance,</p>

<p>John</p>

<pre><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 '&lt;div class="commentnotify"&gt;You submitted item story and you have chosen to receive emails when someone comments on it.&lt;a href="http://www...com/.../comments/commentnotifystop.php?submission='.urlencode($row["title"]).'&amp;submissionid='.$row["submissionid"].'&amp;url='.$row["url"].'&amp;countcomments='.strtoupper($row["countComments"]).'&amp;submittor='.$row["username"].'&amp;submissiondate='.$row["datesubmitted"].'&amp;dispurl='.$row["displayurl"].'"&gt;Click here to stop.&lt;/a&gt;&lt;/div&gt;';


} else {
   echo '&lt;div class="commentnotify"&gt;You submitted this item and you have chosen not to receive emails when someone comments on it.&lt;a href="http://www...com/.../comments/commentnotifystart.php?submission='.urlencode($row["title"]).'&amp;submissionid='.$row["submissionid"].'&amp;url='.$row["url"].'&amp;countcomments='.strtoupper($row["countComments"]).'&amp;submittor='.$row["username"].'&amp;submissiondate='.$row["datesubmitted"].'&amp;dispurl='.$row["displayurl"].'"&gt;Click here to start.&lt;/a&gt;&lt;/div&gt;';


} else {

} 
</code></pre>
