title: How to add PHP echo in HTML script tags
body: <p>I would like to insert a PHP echo in my HTML footer.</p>
  
  <p>It works in my <em>header.inc.php</em>. Example :</p>
  
  <pre><code>    &lt;link href="&lt;?php echo $style; ?&gt;" rel="stylesheet" type="text/css"&gt;
  </code></pre>
  
  <p>In my <em>footer.inc.php</em> I would like to change this:</p>
  
  <pre><code>    &lt;script src="js/jquery-1.11.0.min.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>to: </p>
  
  <pre><code>    &lt;script src="&lt;?php echo $jquery; ?&gt;" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But my editor (Coda) highlights the syntax like it isn't valid:</p>
  
  <p><img src="https://db.tt/g3OTnr3X" alt="syntax highlighting"></p>