URI: index.php?option=com_agility&task=dogs&opt=sibling&id=2606&Itemid=25 Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and
id <> 2606' at line 4
SELECT COUNT(*) FROM elx_agl_dogs
WHERE birthday = "2015-05-02" and
father_id = 308 and
mother_id = and
id <> 2606
mysql Error [1064] : EXECUTE
URI: index.php?option=com_agility&task=dogs&opt=sibling&id=2606&Itemid=25 Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and
id <> 2606 LIMIT 0,50' at line 5
SELECT *
FROM elx_agl_dogs
WHERE birthday = "2015-05-02" and
father_id = 308 and
mother_id = and
id <> 2606 LIMIT 0,50