title: How to make a proper mysqli extension class with prepared statements?
body: <p>I have scoured the web for a good example but I can't find anything. </p>
  
  <p>I am trying to extend the mysqli class to make a helper class that will abstract away some of the complexities. One of the main things I want to accomplish is to make use of prepared statements. </p>
  
  <p>I don't really know where to start, or how to handle input and output properly in one class. Another problem is that I am unable to output data as an array while using prepared statements.</p>
  
  <p>I could really use a simple example to point me in the right direction.</p>
  
  <p>Thanks!</p>