su header di make_login() hai messo "index.php?=valore".

Ma se prelevi get["id"], su header devi mettere "index.php?id=valore".