changed mysql to mysqlli