Error Number: 1064
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 'ORDER BY RAND() LIMIT 9' at line 5
SELECT * FROM (`productcategory`) WHERE `publish` = '1' AND `productcategoryid` != ORDER BY RAND() LIMIT 9
Filename: /home/klinikpelitaseha/public_html/models/main_data.php
Line Number: 717