Síguenos en

Sígue a Vive Campoo en facebook Sígue a Vive Campoo en twitter Sígue a Vive Campoo en youtube
1 galerías |17 fotos
Campeonato por parejas del FIFA14

Visto 2.820 veces
hace 4 años

Por ViveCampoo

Últimos comentarios

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/vps90544.ovh.net/httpdocs/vivecampoo/categoria-fotos.php on line 776
HOY
MES
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 'GROUP BY a.id ORDER BY total DESC LIMIT 5' at line 1

QUERY = SELECT a.*, count(a.id) as total FROM `galerias` a LEFT JOIN visitas_galerias b ON a.id = b.id_galeria WHERE 1=1 AND (aprobada=1 AND id_cat LIKE '%00019%' AND (datum=(DATE_SUB(CURDATE(),INTERVAL 1 DAY))) GROUP BY a.id ORDER BY total DESC LIMIT 5