SQL:
SELECT
id, slug, statusId, start_time, end_time, name, name_en, type_id, value_1, value_2,
cImg, cImg2, eur_ver, cLink, id_list_include, id_list_exclude, info, info_en, created
FROM campaigns c
WHERE c.id = ?
AND c.statusId != 0
AND (c.end_time >= ? OR c.end_time IS NULL)
AND c.statusId = 2 AND (c.start_time <= ? OR c.start_time IS NULL) LIMIT 1
PARAMS:
array (
0 => 55,
1 => '2026-06-15 21:43:37',
2 => '2026-06-15 21:43:37',
)
isAdmin: false
RESULT:
false
SQL:
SELECT
id, slug, statusId, start_time, end_time, name, name_en, type_id, value_1, value_2,
cImg, cImg2, eur_ver, cLink, id_list_include, id_list_exclude, info, info_en, created
FROM campaigns c
WHERE c.id = ?
AND c.statusId != 0
AND (c.end_time >= ? OR c.end_time IS NULL)
AND c.statusId = 2 AND (c.start_time <= ? OR c.start_time IS NULL) LIMIT 1
PARAMS:
array (
0 => 84,
1 => '2026-06-15 21:43:37',
2 => '2026-06-15 21:43:37',
)
isAdmin: false
RESULT:
false
SQL:
SELECT
id, slug, statusId, start_time, end_time, name, name_en, type_id, value_1, value_2,
cImg, cImg2, eur_ver, cLink, id_list_include, id_list_exclude, info, info_en, created
FROM campaigns c
WHERE c.id = ?
AND c.statusId != 0
AND (c.end_time >= ? OR c.end_time IS NULL)
AND c.statusId = 2 AND (c.start_time <= ? OR c.start_time IS NULL) LIMIT 1
PARAMS:
array (
0 => 86,
1 => '2026-06-15 21:43:37',
2 => '2026-06-15 21:43:37',
)
isAdmin: false
RESULT:
false
SQL:
SELECT
id, slug, statusId, start_time, end_time, name, name_en, type_id, value_1, value_2,
cImg, cImg2, eur_ver, cLink, id_list_include, id_list_exclude, info, info_en, created
FROM campaigns c
WHERE c.id = ?
AND c.statusId != 0
AND (c.end_time >= ? OR c.end_time IS NULL)
AND c.statusId = 2 AND (c.start_time <= ? OR c.start_time IS NULL) LIMIT 1
PARAMS:
array (
0 => 55,
1 => '2026-06-15 21:43:37',
2 => '2026-06-15 21:43:37',
)
isAdmin: false
RESULT:
false
SQL:
SELECT
id, slug, statusId, start_time, end_time, name, name_en, type_id, value_1, value_2,
cImg, cImg2, eur_ver, cLink, id_list_include, id_list_exclude, info, info_en, created
FROM campaigns c
WHERE c.id = ?
AND c.statusId != 0
AND (c.end_time >= ? OR c.end_time IS NULL)
AND c.statusId = 2 AND (c.start_time <= ? OR c.start_time IS NULL) LIMIT 1
PARAMS:
array (
0 => 73,
1 => '2026-06-15 21:43:37',
2 => '2026-06-15 21:43:37',
)
isAdmin: false
RESULT:
(object) array(
'id' => 73,
'slug' => '',
'statusId' => 2,
'start_time' => '2026-06-15 09:00:00',
'end_time' => '2026-06-28 23:59:59',
'name' => 'Midsummer Campaign',
'name_en' => '',
'type_id' => 3,
'value_1' => 40.0,
'value_2' => 0.0,
'cImg' => 'midsummer-campaign2026',
'cImg2' => '',
'eur_ver' => 1,
'cLink' => '',
'id_list_include' => '38,426,1465,2616,5316,7376,8705,8708,8802,9834',
'id_list_exclude' => '',
'info' => 'Gör dig redo för sommaren! Fynda utvalda produkter som passar lika bra för avkoppling som för sommarens alla aktiviteter.',
'info_en' => 'Get ready for summer! Discover selected products that are perfect for both relaxation and all your summer activities.',
'created' => '2025-10-24',
)
SQL:
SELECT
id, slug, statusId, start_time, end_time, name, name_en, type_id, value_1, value_2,
cImg, cImg2, eur_ver, cLink, id_list_include, id_list_exclude, info, info_en, created
FROM campaigns c
WHERE c.id = ?
AND c.statusId != 0
AND (c.end_time >= ? OR c.end_time IS NULL)
AND c.statusId = 2 AND (c.start_time <= ? OR c.start_time IS NULL) LIMIT 1
PARAMS:
array (
0 => 73,
1 => '2026-06-15 21:43:37',
2 => '2026-06-15 21:43:37',
)
isAdmin: false
RESULT:
(object) array(
'id' => 73,
'slug' => '',
'statusId' => 2,
'start_time' => '2026-06-15 09:00:00',
'end_time' => '2026-06-28 23:59:59',
'name' => 'Midsummer Campaign',
'name_en' => '',
'type_id' => 3,
'value_1' => 40.0,
'value_2' => 0.0,
'cImg' => 'midsummer-campaign2026',
'cImg2' => '',
'eur_ver' => 1,
'cLink' => '',
'id_list_include' => '38,426,1465,2616,5316,7376,8705,8708,8802,9834',
'id_list_exclude' => '',
'info' => 'Gör dig redo för sommaren! Fynda utvalda produkter som passar lika bra för avkoppling som för sommarens alla aktiviteter.',
'info_en' => 'Get ready for summer! Discover selected products that are perfect for both relaxation and all your summer activities.',
'created' => '2025-10-24',
)