table = $CONFIG->dbprefix . sanitise_string($table); $this->field = sanitise_string($field); if (is_numeric($value)) $this->value = (int)$value; else $this->value = "'".sanitise_string($value)."'"; } function __toString() { return "{$this->table}.{$this->field}={$this->value}"; } }