Made the mysql private again in Connect class by adding a wrapper to mysql_real_escape_string