Please post your code here and will tell you what's the problem.