PHP IF statement error
<p>I keep receiving the follow error message on "Parse error: syntax error, unexpected T_IF on line 152" which is the IF statement on my PHP code. What am I doing wrong?</p>

<pre><code>   echo "&lt;td&gt;".
   if ($licensed_venue[$i]=1): 
    echo 'Licensed'; 
   else: echo 'Not Licensed'; 
   endif;."&lt;/td&gt;";      
</code></pre>

<p>Thanks in advance.</p>
