Erreur SQL !
SELECT * from votes where type=1 AND id_type=31 AND vote_id_membre = AND vote_date='2021-09-24'
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 vote_date='2021-09-24'' at line 1