I created this class to avoid the repetitiveness associated with mysqli prepared statements. It can be seen as a mini framework for running queries.
It creates a database connection and accepts queries through the execute method. The execute method parameters are an sql statement, followed by the necessary bind variables.