ora la variabile passata tramite URL la trovi in $_GET

$scheda_id = $_GET['scheda_id'];