title: How do I write PHP within Javascript so that I can load files?
body: <p>How do I write PHP within Javascript so that I can load files?  Or is there a better way?
  (I am loading text files from the server... so I need to use PHP to load those files.  I don't know how to handle call backs in PHP but I can do it in Javascript.  And from there if I can do some PHP from within the Javascript, I can solve my problem.)</p>
  
  <p>thx</p>
  
  <pre><code>desired sequence:
  SaveButton
  LoadButton
  When the "load button" is pressed, load a textfile from the server into a textbox.
  When the "save button" is pressed, save the textbox text to the server.
  </code></pre>