I don’t know if “concatenate” is the correct word, I have it based on a question for something that is similar in PHP:
PHP – concatenate or directly insert variables in string
This has probably been answered somewhere but I don’t know how to search for it
This is the command:
UPDATE pics p,
members m
SET p.votedown = p.votedown - 1
WHERE m.dislikes LIKE '%,p.id,%' AND p.memberid = 1150 AND m.userid = 1095 AND `p.time` > 1714567951
How to do LIKE '%,p.id,%'
correctly?
If someone has a better idea for the title of this question then please tell
3