title: html code inside php if statement
body: <p>I am trying to add a video tag if the PHP code receives it from a <code>$_GET</code> method.</p>
  
  <p>The problem is in the 2nd echo</p>
  
  <pre><code>&lt;?php 
  if($_GET['video1'] == NULL) {
  
  }
  
  } else {
      $vid = $_GET["video1"];
      echo '&lt;video width="320" height="240" controls&gt;';
          echo '&lt;source src=' . &lt;?php echo $_GET["video1"]; ?&gt; . ' type="video/mp4"&gt;';
          echo '&lt;/video&gt;';
  
  
      }
  ?&gt;
  </code></pre>