how to delete 2 rows with one query with mysql -
hi guys how can delete 2 rows in 1 query 1 table. code is:
delete panel_friends friends_friend_id = ' . $k . ' , friends_member_id = ' . $key2 , friends_friend_id = ' . $k2 . ' , friends_member_id = ' . $key
delete panel_friends (friends_friend_id = :k1 , friends_member_id = :k2) or (friends_friend_id = :k2 , friends_member_id = :k1)
Comments
Post a Comment