title: Call a PHP file from Javascript
body: <p>Can I please have some help to call a PHP file via Javascript when an HTML page has successfully loaded.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    &lt;script class="code" type="text/javascript"&gt;
  
          $(document).ready(function(){
              //Call fb_marketing.php 
          });
  
      &lt;/script&gt;
  </code></pre>
  
  <p>The name of the PHP file is 'fb_marketing.php'. Can I please have some help to get this code working?</p>
  
  <p>Thanks in advance </p>