title: Insert php include with Javascript
body: <p>I haven't found a clear answer for this at all. I've been looking for an hour or two. </p>
  
  <p>I have a PHP page doing SQL call and building out my page. I have a list of items with onClick JavaScript functions that trigger the page's additional events. Among other things, I need that onClick function to append the HTML page with additional PHP code. I've been hopping to append in a PHP file via an include but that seems unavailable to me using this JS function. </p>
  
  <p>And ideas would be most helpful. If you can support your answer with code references or existing tutorials that make since that would be fantastic. </p>