Die Query müsste auch anders (einfacher gehen, ungetestet):
UPDATE files Set downloads = '$downloads' WHERE id LIKE '$thisid' ");
Die Query müsste auch anders (einfacher gehen, ungetestet):
UPDATE files Set downloads = '$downloads' WHERE id LIKE '$thisid' ");
--