if / elseif syntax
<p>I'm having some trouble with the following code, more than likely a n00b error so apologies in advance if the answer is obvious. The if/elseif/if works without the content but not with the test statements. Is there some subtlety of syntax i'm missing.</p>

<pre><code>&lt;?php 

if (stripos($_SERVER['REQUEST_URI'],'/workshops/') !== false) {echo ''

}; elseif ($ticketlink = get_post_meta($post-&gt;ID, 'Ticket-Link-1', true))

{ echo '&lt;div class="artist-buy-tickets-box"&gt;&lt;a class="artist-buy-button" href="'.$ticketlink.'" title="Buy tickets" target="_blank"&gt;Buy Tickets&lt;/a&gt;';}

else { echo '&lt;h6&gt;TICKETS ON SALE&lt;br/&gt;JUNE 15 2011&lt;/h6&gt;' ;}

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