Javascript, buddy. You *could* program your PHP code to output JavaScript, but that's about it. PHP is Server Side, it takes input (page requests, POSTs etc.) and makes output (the page you see). The only interaction with the user is through what the browser sends and recieves.
Javascript...