title: PHP file with JavaScript Extjs
body: <p>A noob question here, by a novice programmer.</p>
  
  <p>I am trying to do a javascript inside a .php file, in my index I included this line:</p>
  
  <pre><code>&lt;script type="text/javascript" src="/js/basic.php"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And in my basic.php:</p>
  
  <pre><code>&lt;?php Header("content-type: text/javascript"); ?&gt;
  &lt;script&gt;
      Ext.Loader.setConfig({
          enabled: true,
          disableCaching: false,
          paths: {
              "Extensible": "/js/extensible/src",
              "Schedule.Calendar.data": "/js/data",
              "Schedule.Calendar.listeners":"/js/listeners",
              "Schedule.Calendar.override":"/js/override",
              "Schedule.Calendar.panels": "/js/panels"
          }
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>And it keeps sending an error saying:</p>
  
  <blockquote>
    <p>SyntaxError: missing } in XML expression</p>
  </blockquote>