An Error Was Encountered
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 poolgas.publicar = 1 ORDER BY RAND(), poolgas.date_added desc LIMIT 4' at line 5
SELECT poolgas.*, administradores.nombre, administradores.web as post_web FROM (`poolgas`) LEFT JOIN `administradores` ON `poolgas`.`id_administrador` = `administradores`.`id` WHERE `author` != AND poolgas.publicar = 1 ORDER BY RAND(), poolgas.date_added desc LIMIT 4