title: Loading dynamic php&mysql pages without refreshing - AJAX
body: <p>For the last few days I am wandering arround the web for a script which would have the elementss I wish for.. The best thusfar is this one <a href="http://www.queness.com/post/328/a-simple-ajax-driven-website-with-jqueryphp" rel="nofollow">http://www.queness.com/post/328/a-simple-ajax-driven-website-with-jqueryphp</a>, but there are a lot problems, where i need better solution:</p>
  
  <ul>
  <li><p>I want no hashtags: I want all links for loading pages like folder (www.site.com/first/site/). This works magicaly on github (click here <a href="https://github.com/spjoe/deluge-yarss-plugin" rel="nofollow">https://github.com/spjoe/deluge-yarss-plugin</a>, and click on a random file and go back while watching adress bar). If someone knew what or how are they doing it would be really cool.</p></li>
  <li><p>I need dynamic content: The script above only loads "cases" from switch function, while I need the php to check the url and find a file in mysql database and echo out content from desired tables based on the url, if it is found in the db ofcourse (if I point a link to site.com/harvey the php should find Harvey in the db and display for example his phone, adress and other details, while this must not be preloaded but requested only on click due to bandwight issues).</p></li>
  <li><p>History: I would like to have an option where back and forward movements on the site would work flawlessly and with the animation as it works while clicking links..</p></li>
  <li><p>Working links inside changable div: Because there is a problem with some scripts which don't change content where the link is inside it (for example first content box includes navigation, which should be replaced with different navigation in the second box), again this work very well with github..</p></li>
  </ul>
  
  <p>I hope you give me some links or even more help with some code..</p>