MYSQL:
I have receiver _removed column and a column receiver _removed
If both are 1 then there is a DELETE query executed. Otherwise, an UPDATE query is executed.
I would just not be looking to php or both on 1 or not, I want mysql to arrange this. So this is about what it should be:
IIF (receiver_removed = 1 & & sender_removed= 1) THEN DELETE FROM table ELSEIFF (* and here the update query *)
Who can help me to make a valid mysql query them?
Bookmarks