how do i set a conditional statement here?
<pre><code>&lt;ul&gt;
    &lt;li class="artist-website"&gt;&lt;a href="&lt;?php=$artist_website?&gt;" target="_blank"&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="artist-youtube"&gt;&lt;a href="http://youtube.com/&lt;?php=$artist_youtube?&gt;" target="_blank"&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li class="artist-twitter"&gt;&lt;a href="http://twitter.com/&lt;?php=$artist_twitter?&gt;" target="_blank"&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>I want to add an if exists statement before each of the 'li' items. For example, if "artist-website" exists, then echo <code>&lt;li class="artist-website"&gt;&lt;a href="&lt;?php=$artist_website?&gt;" target="_blank"&gt;&lt;/a&gt;&lt;/li&gt;</code></p>

<p>How can I do make this work?</p>
