ir4z0r is correct... if you turn off register_globals (which I recommend you do) then any code that uses variables passed by GET or POST must be fixed. I recommend that you fix it by setting the appropriate variables at the top of your page, rather than by substituting the $GET() statement directly in your SQL. Simply add:
$id = $_GET("id");
$blah = $_GET("blah");
//...etc
to the top of each page, and you should be OK.
Incidentally, you should code your pages like this all the time, regardless of whether register_globals is turned ON or OFF. This way, if it IS turned off, your pages won't break. It's a good habit to get into.