function get_contents() { new Ajax.Updater('results', '/path/to/the/php/script.php', { method: 'get' }); }
Put this in the body of the document