You need to look into AJAX. AJAX is a pretty neat technology that allows you to submit a PHP form to the server using Javascript, the result of which is returned to the Javascript and printed to the page, without needing to reload. An example is here:
http://infectionist.com/misc/capture...st/capture.php
Put in an Xbox Live gamertag (if you don't have one, use HaLo2FrEeEk, my gamertag,) and click the button. Without reloading the page, the data is submitted to the server, processed, and the result (a list of videos associated with that gamertag) is returned to the page.
JQuery has a great library that allows very easy implementation of AJAX, check it out here:
http://jquery.com