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 usu.id=pos.id_usuario AND pos.estado = 1' at line 4
SELECT pos.* FROM cms_usuarios AS usu, cms_foro_post AS pos WHERE usu.id= AND usu.id=pos.id_usuario AND pos.estado = 1
Filename: /home/quaronl/public_html/comunidad/models/foro_post.php
Line Number: 150