title: Php if empty variable statement
body: <p>I'm trying to build an if statement for when a variable is filled with a url it will display a button and link to the site, and when the variable is empty the link and button will not display. So far I got it to where it is displays the button and links but making it into an if statement keeps on breaking my site. If you see a problem with the code below, please help. Thanks</p>
  
  <pre><code>&lt;div id="social_icon"&gt;
  &lt;?php if (isset($fburl))
  { 
  &lt;a href="&lt;?php echo $options['fburl']; ?&gt;"&gt;
  &lt;img src="http://farm6.staticflickr.com/5534/9135106179_43deba3d15_o.png"" width="30"    
  height="30"&gt;&lt;/a&gt;; 
  }
  else
  {
  //dont show anything
  }
  ?&gt;   
  &lt;/div&gt;
  </code></pre>