title: jquery load php file - result is not complete
body: <p>I'm trying to load or better reload a DIV with content from an included php file. so the file is included in the webadmin.php from the location webadmin/pages.php. Then i alter some data in the DB through serializing. </p>
  
  <p>Now I would like to reload the pages.php from the callback of the serialize POST with load();. This all works fine up until the moment the data is supposed to be displayed in the div - i believe its because the php file is loaded from a different location, so the include paths for the DB Connection etc are probably wrong... </p>
  
  <p>Should I really write an extra PHP File for jquery or is there a way to tell jquery where to load it from?</p>
  
  <p>Its the first time I'm doing this - so bear with me for a moment on this one... Thanks!</p>
  
  <p>I guess it wont be much use, but heres the load code:</p>
  
  <pre><code>$("#right").load("webadmin/pages.php");
  </code></pre>