Please Log in to join the conversation.
- Nothing, use can select the new value1.) What happens to the (user)data for a multi-checkbox field, if I would...:
- Add a new value
- Delete a value
- ReOrder the values
Direct database query to #__comprofiler is probably the best approach.2.) What is best practice, if I want to replace ALL values of an existing select-field?
For instance I would have to change and update:
Please Log in to join the conversation.
krileon wrote:
Direct database query to #__comprofiler is probably the best approach.2.) What is best practice, if I want to replace ALL values of an existing select-field?
For instance I would have to change and update:
Please Log in to join the conversation.
UPDATE `jos_comprofiler` SET `myfield` = 'NEWvalue1' WHERE `myfield` = 'OLDvalue1';
UPDATE `jos_comprofiler` SET `myfield` = 'NEWvalue2' WHERE `myfield` = 'OLDvalue2';
UPDATE `jos_comprofiler` SET `myfield` = 'NEWvalue3' WHERE `myfield` = 'OLDvalue3';
Please Log in to join the conversation.