En una página, al escribir prdb.php?t='.' o cualquier cadena que contenda un punto me sale:
Citar
This query has failed:
SELECT obj.*, count(objcomments.id) as nc FROM obj LEFT JOIN objcomments ON objcomments.id_obj=obj.eid WHERE type=. AND ispublic='Y' GROUP BY obj.eid ORDER BY value_effect ASC LIMIT 0,25
--------------------------------------------------------------------------------
MySQL said:
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 ispublic='Y' GROUP BY obj.eid ORDER BY va
SELECT obj.*, count(objcomments.id) as nc FROM obj LEFT JOIN objcomments ON objcomments.id_obj=obj.eid WHERE type=. AND ispublic='Y' GROUP BY obj.eid ORDER BY value_effect ASC LIMIT 0,25
--------------------------------------------------------------------------------
MySQL said:
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 ispublic='Y' GROUP BY obj.eid ORDER BY va
¿Se puede hacer algo o simplemente nada?

¡¡Saludos!!










Autor


En línea


