Database error: Invalid SQL: SELECT id_ajout,id_profil,id_action,type,type_action FROM likes WHERE id_profil = AND type='rem' AND date_ajout >= NOW() - INTERVAL 24 HOUR
MySQL Error: 1064 (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 type='rem' AND date_ajout >= NOW() - INTERVAL 24 HOUR' at line 1)
Session halted.