OcurriĆ³ un Error con la Base de Datos
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 'Connell Racing' order by fecha desc, id desc' at line 1
select count(1) q from fotografia f left join fototag t on f.id = t.foto where substr(f.sitios, 1, 1) = '1' and t.nombre = 'Equipo' and t.valor = 'O'Connell Racing' order by fecha desc, id desc
Filename: /home/notiauto/public_html/app/models/mainmodel.php
Line Number: 110