That should indicate to you that there is a flaw in your PHP coding! But it's not something that I can see though! I presume your server settings are correct, otherwise you wouldn't be using $_GET['TeamID'].

Try working out why you can't get the $_GET['TeamID'] value to appear correctly, then correct the fault. It should work then!