Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND `active` = 1 AND `user_id` = '140' AND (`end_date` >= '2024-03-29' OR `end' at line 3
SELECT * FROM `products` WHERE p_category IN () AND `active` = 1 AND `user_id` = '140' AND (`end_date` >= '2024-03-29' OR `end_date` IS NULL)
Filename: models/Shop_model.php
Line Number: 30