• 在成员简介表内使用多功能、无线电和检查箱的定制外地类型。
The model which parses the form and commits the update query submits all values from the form in one array variable - $data . One of the array values within $data is another array coming from a multiselect field type - so when the query is submitted it returns an error...
Unknown column Array in field list
UPDATE `apcims_member_data` SET `m_field_id_1` = , `m_field_id_2` = Array WHERE `member_id` = 2
因此,我需要在库克执行之前将数据阵列内的任何阵列 imp起来。
是否有这样的职能。
foreach($data AS $value) {
if($value(is_array)) { $value = implode("|", $value); }
}
......在原指数或职位上重新插入?
感谢任何帮助。