phpsa 0 Newbie Poster

Drupal 7

I know there was a previous post, but this is a little more specific to the $_GET function and Drupal.

echo $_GET;
Error Message:
Notice: Undefined index: id in eval()

Just to make sure it worked, I created a test site and copy/pasted my code into a php page outside of Drupal. It worked just as I thought it should.

Echoed id and retrieved mysql data based on ID.

It won't work in my Drupal site though. I know Webform has a built it %get[key], but that wouldn't work either. It worked for %get[username] but it wont retrieve from the URL.

There has to be something small I am missing. Any help would be appreciated.