go to the request section. I gave you one plugin already....and i'm lazy tonight.
Or just go reading codes that are already written. Pleanty of examples out there. Also look around the tuts and code snippets section. Lots of good stuff there too.
__________________
What an elegant solution to a problem that doesn't need solving....