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 2' at line 5
SELECT `id`, `fotos`, `titulo`, `entradilla`, `ruta` FROM (`noticias` AS nti) WHERE `tipo` = 1 AND `id` <> ORDER BY RAND() LIMIT 2
Filename: /home/karidemo/public_html/core/MY_Model.php
Line Number: 78