URI: index.php?option=com_agility&task=dogs&opt=sibling&id=6090&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 <> 6090' at line 4
SELECT COUNT(*) FROM elx_agl_dogs
WHERE birthday = "2019-07-06" and
father_id = 6089 and
mother_id = and
id <> 6090
mysql Error [1064] : EXECUTE
URI: index.php?option=com_agility&task=dogs&opt=sibling&id=6090&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 <> 6090 LIMIT 0,50' at line 5
SELECT *
FROM elx_agl_dogs
WHERE birthday = "2019-07-06" and
father_id = 6089 and
mother_id = and
id <> 6090 LIMIT 0,50