can i use conditional logic in PHP EOD?
<p>is it possible to put conditional logic inside an EOD string</p>

<pre><code>$str = &lt;&lt;&lt;EOD

&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;
            if ( !empty($var1) ) {
                {$var1}
            } else {
                {$var2}
            }
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>This doesn't work for me.. and it sort of looks like it wouldn't work, but I thought I'd tak a stab..</p>

<p>Thanks!</p>

<p>Also,  is it <code>EOD</code> or <code>EOT</code>? Both seem to work..</p>
