The phrase "it doesn't work" is the most useless text that can be posted when you are trying to get help with a problem.
All too often, posts are made that read along the lines of "I tried such and such, but it didn't work" (or even worse: "I tried, but it didn't work" without even saying what you tried). This leaves those that could try and help you high and dry without conveying any useful information. Just saying "it doesn't work" does not give anybody a clue as to what is actually happening. Did you get an error? Did you get an unexpected value? Did you get nothing? Did the keyboard give you an electric shock? Did the computer burst into flames?
When posting, don't say "it didn't work". Rather, post at least the following information:
What did happen
What you expected to happen and how it differs from the actual result
The complete and unedited text of any error message you received (be sure to use UBB code tags to preserve formatting, see UseCodeTags)
Including this information will always result in better and quicker answers to your issue.