Timeline for Creating custom field type multiselect list - how to save the values?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2019 at 13:28 | comment | added | mickmackusa |
I was unable to completely edit your post because it contains broken code and I didn't want to overreach in my duties. Please notice that $ready is not used (and is an inappropriate variable name). MySQL queries should not be executed in a loop because of poor performance which makes it bad practice -- a WHERE virtuemart_manufacturer_id IN () seems suitable. Please build the subquery and query with Joomla query methods. Finally, saving the each iterated result set into $options will keep overwriting the previously saved values and this is simply not right. Please edit when you can.
|
|
Jun 10, 2019 at 13:24 | history | edited | mickmackusa | CC BY-SA 4.0 |
improved tabbing and general coding standards, removed signoff, fixed English/grammar
|
Dec 16, 2014 at 8:58 | vote | accept | IseNgaRt | ||
Dec 16, 2014 at 8:18 | history | answered | IseNgaRt | CC BY-SA 3.0 |