private function validate_field($field_id) { if (isnum($field_id)) { return dbcount("(field_id)", $this->field_db, "field_id='" . intval($field_id) . "'"); } return FALSE; }