Hmm...I think I see what's wrong.
For the second query, try this instead.
$query = "UPDATE subscriber SET drop_num = drop_num + 1 WHERE drop_num > $ndrop AND drop_num < $cdrop AND rid = $rid";
This assumes that $cdrop is the previous drop_num and the new drop_num is less than the previous.
If the previous drop_num is less than the new one then it should be
$query = "UPDATE subscriber SET drop_num = drop_num - 1 WHERE drop_num < $ndrop AND drop_num > $cdrop AND rid = $rid";
It was kind of hard to picture in my head, but I think this should work. Good luck!