There is a problem with the database
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '..LESS $4000.00 FOR GOOD CORE', 1, 5),'%') and category = 195 and id <> 98202...' at line 1SELECT * from products WHERE name LIKE CONCAT(SUBSTR('01/122800R REMAN ENGINE'..LESS $4000.00 FOR GOOD CORE', 1, 5),'%') and category = 195 and id <> 982027 ORDER BY RAND() limit 3;