post like this make it impossible or too much effort to help you. and result is that you may not get helped. make it EASY to understand your problem. be SPECIFIC and focus on ONE issue until it is resolved. i don't know how to make it any more clear but here is the last try:
When asking for help, identify EXACT manual line, code line etc. that you have problem with. Only then we stand a chance to know what your problem is.
notice how i responded and highlighted things? if you are still confused, try to think as if you are writing exam question for a group of students. keep it short, abstract where suitable, but include all detail so it is impossible to guess what you meant.