PHP IF, ELSE SHOW HELP?
<p>Coming across a massive pain, is they a way I can for example say if has youtubeurl else show vimeourl?
Here is my coding </p>

<pre><code>&lt;?php $youtube_vimeo_player = get_post_meta($post-&gt;ID,'_youtube_vimeo_player',TRUE); ?&gt;
&lt;?php $info = $video-&gt;info("'".$youtube_vimeo_player['youtubeurl']."'"); ?&gt;
&lt;div class="content"&gt;
    &lt;div&gt;
    &lt;a href="&lt;?php echo get_permalink(); ?&gt;" title="&lt;?php echo $info['title']; ?&gt;"&gt;
            &lt;img src="&lt;?php echo $info['thumb_large']; ?&gt;&lt;?php echo wp_get_attachment_url( $attachment-&gt;ID , false ); ?&gt;" alt="&lt;?php echo $info['title']; ?&gt;&lt;?php echo $info['title']; ?&gt;"  class="thumb"/&gt;
    &lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;

&lt;?php $info = $video-&gt;info("'".$youtube_vimeo_player['vimeourl']."'"); ?&gt;
&lt;div class="content"&gt;
    &lt;div&gt;
    &lt;a href="&lt;?php echo get_permalink(); ?&gt;" title="&lt;?php echo $info['title']; ?&gt;"&gt;
        &lt;img src="&lt;?php echo $info['thumb_large']; ?&gt;&lt;?php echo wp_get_attachment_url( $attachment-&gt;ID , false ); ?&gt;" alt="&lt;?php echo $info['title']; ?&gt;&lt;?php echo $info['title']; ?&gt;"  class="thumb"/&gt;
    &lt;/a&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Any help would be more then great : )</p>
