Fix SQL injection in table.php
Cast $drg to int before interpolating into queries. The variable comes
from $_GET['drg'] in the parent file and was previously unsanitised.
The ?? 0 fallback handles the include-file case where $drg may not yet
be set in the calling scope.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>