Add some string function on escapeString()

#Before :
public function escapeString($data){
        return $this->myconn->real_escape_string($data);
}

#After
public function escapeString($data){
        return $this->myconn->mysql_real_escape_string(stripslashes(strip_tags(htmlspecialchars($data,ENT_QUOTES))));
}