title: Cannot Call script tag inside php
body: <p>I have this script below and its working good. It works when I load the .php file directly even with external javascript tags.</p>
  <p>index.html</p>
  <pre><code>&lt;div id=&quot;content&quot;&gt;&lt;/div&gt;
  &lt;script src=&quot;//code.jquery.com/jquery-1.11.3.min.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;test.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p>test.js</p>
  <pre><code>$(document).ready(function() {
      $('#content').load('content/index.php')
  });
  </code></pre>
  <p>/content/index.php</p>
  <pre><code>&lt;?php
      require_once(&quot;geoip.inc&quot;);
      $gi = geoip_open(&quot;GeoIP.dat&quot;, GEOIP_STANDARD);
      $country_code = geoip_country_code_by_addr($gi, $_SERVER['REMOTE_ADDR']);
      geoip_close($gi);
  
      if ($country_code == 'RO' ||
          $country_code == 'DO' ||
          $country_code == 'PK' ||
          $country_code == 'MA' ||
          $country_code == 'PE' ||
          $country_code == 'IR' ||
          $country_code == 'DZ' ||
          $country_code == 'RU' ||
          $country_code == 'EG') {
          echo 'country not supported';
      } else {
          echo 'supported';
      }
  ?&gt;
  </code></pre>
  <h2>My Question is:</h2>
  <p>When I am trying to</p>
  <pre><code>echo 'supported';
  </code></pre>
  <p>It is working good.</p>
  <p>But when I tried to echo</p>
  <pre><code>&lt;SCRIPT SRC=&quot;http://externalsite.com/ads/sample.js&quot; TYPE=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;
  </code></pre>
  <p>the script tag wasn't show.
  I need to load the .php file inside my .js file</p>