Register_globals – errrrmmmm…. What?!?

Hey guys, hopefully a quick question today……

Basically, I have been working through some php and mysql and have come to the point where u add ?query to the end of a hyper link. This is where it tells you to have register globals on, but apparently it is a security risk. Blah blah blah.

 Basically if someone could explain a piece of code that requires globals. And then the alternative method. So I can try and understand it!!

 Sorry, I don’t think im making much sense. If you want more info on my problem just ask!

 Thanks in advance guys!! Andy.