Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/datos/ocio.laopinion.es/shared/class/layout.content.class.php on line 4513
MySQL Error Occured
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 'order by id desc limit 0,20' at line 1

QUERY = select a.id id, a.id_categoria, a.titulo, a.entradilla, a.descripcion, a.video, a.map_lat, a.map_lon, b.provincia, c.localidad, d.name usuario from oc_planes_media a LEFT join oc_provincias b on a.id_provincia=b.id LEFT join oc_localidades c on a.id_localidad=c.id left join oc_user_epi d on a.id_user_EPI=d.id where publicable=1 and id_media=15 and a.id_categoria= order by id desc limit 0,20