title: When and where does JavaScript run, how about PHP? Can I combine the two?
body: <p>When does a client-side language like JavaScript run and when does a server-side language like PHP run? How can I mix both?</p>
  
  <p>I want to run a PHP function when a button on my site is clicked, or run a JavaScript function from PHP; is that possible?</p>