How to fix this notice on $_SESSION
<pre><code>&lt;?php

    $outputDetails = "";
    $outputDetails .= "
    &lt;table id='sessionDetails' border='1'&gt;
    &lt;tr&gt;
    &lt;th&gt;Number of Sessions:&lt;/th&gt; 
    &lt;th&gt;{$_SESSION['sessionNum']}&lt;/th&gt;
    &lt;/tr&gt;";
    $outputDetails .= "        &lt;/table&gt;";

    echo $outputDetails;


    ?&gt; 
</code></pre>

<p>The code above is giving me this notice: </p>

<pre><code>Parse error: syntax error, unexpected '=', expecting '}' in /web/stud/u000000/Mobile_app/QandATable2.php on line 70
</code></pre>

<p>How can this be fixed?</p>

<p>Also what this code should do is that SessionNum is a number, and if the user submits the form to itself, the number would not disappear, will the code above work when it comes to still displaying the number on the page when form is submitted to itself?</p>
