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