Long before it was called AJAX we were using hidden iFrames to transport data to/from the server.
All you need to do is create an IFrame, then have a javascript timer in your parent frame that triggers a function to build a querystring (Sending parameters if needed) and refresh the iFrame with the new QS.
Then, build a page on the server that uses PHP to query the DB based on the QS and echo javascript to the page.
The parent page will wait for the iFrame to reload and then read the JS values.
You'll also need another timer to run a time-out on the iFrame so a temporary problem doesn't ever crash the app.
This is the easiest way I know of to get "AJAX" results.