switched from mysql to mysqli for default fallback string escaping