update to qoob/core/db/mysql class for more logical query replacement syntax. use :var_name in your sql query and simply var_name in your replacement array. this matches the stache template syntax.