Getting URL GET parameter with Code snippets and storing it in database?

Getting URL GET parameter with Code snippets and storing it in database?