title: Nesting HTML/PHP statement inside another PHP statement
body: <p>I have an IF/ELSE statement and I would like to print out some images that I am getting from my Drupal site. I can't figure out how to print those IMG tags without getting errors. </p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>&lt;?php
     $field = field_get_items('node', $node, 'field_visitor_image');
   if($field){
  
          &lt;img src="&lt;?php print image_style_url('lead_teaser', $node-&gt;field_visitor_image['und'][0]['uri']); ?&gt;"&gt;
  
              }
          else        
          { 
  
     &lt;img src="&lt;?php print image_style_url('lead_teaser', $node-&gt;field_banner_image['und'][0]['uri']); ?&gt;"&gt;
  
          }        
  ?&gt;
  </code></pre>