Trying to get the following to work but for the life of me i cannot get this working.
Could someone assist?
DELETE FROM 'content' WHERE note_id = '7' AND WHERE userid = '1'
DELETE FROM 'note' WHERE id = '7' AND WHERE userid = '1'
SQL Error (1064): You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntac to user near 'DELETE FROMWHERE id ='7' AND userid = '1"
at line 2
WHERE needed, try this:
DELETE FROM content WHERE note_id = '7' AND userid = '1' DELETE FROM note WHERE id = '7' AND userid = '1'