Syntax error I just can't see
<p>My page generates this error currently;
 "unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING" on line 84.</p>

<p>The line of code it's referring to is this:</p>

<pre><code>if (empty($ref)) {
$incref = "null";
} else {
$incref = "$_GET['ref'];
}
</code></pre>

<p>I genuinely don't see what's wrong.</p>
