Код: Выделить всё
$condition = ['OR'];
foreach ($items as $item) {
$condition[] = ['REGEXP', 'product_characteristics', $sectionTitle . '":{[^}]+:"' . $item . '"'];
}
$query->andWhere($condition);
Код: Выделить всё
$condition = ['OR'];
foreach ($items as $item) {
$condition[] = ['REGEXP', 'product_characteristics', $sectionTitle . '":{[^}]+:"' . $item . '"'];
}
$query->andWhere($condition);
С сервера пришли данные. Фронт их обновил. Какая разница html, это или json, xml, ... ?
Код: Выделить всё
Watch:{
options(value){
...
},
}