Not without a hint, no.
in reply to Deleting Problem
What error message do you get? That'll give you a starting point to help you figure out what's going wrong.
Once you know what the error is, try to track down the bit of code that's going wrong, and post that. Posting your entire script with "it doesn't work" doesn't give us much to go on ...
From rereading, if you're adding new functionality, read the docs and give it a go. When you run into trouble, and have a specific question, post it and ask.