Sorry for the double post.

Actually, you cannot use $_POST because that sends variables. You are getting variables. index.php?id=1. You are GETTING the id, not posting it. So you have to use $_GET in this case.