See, what you've done there is... well, several things.
And finally, you've signed off with that most helpful of requests for aid: "It don't work".
I'd suggest a brief trip to the posting guidelines
, followed by a revisitation of your request. Try to include some as much helpful information as you can. This may include, but is not necessarily limited to:
- A link to where we can see the thing running.
- An expanded code snippet, illustrating how the code is being called and what is being sent to it when it is.
- A summary of what you'd like to happen, and a description of what actually happens.
- Some punctuation.