switched to mysqlli database conenction