I should go read /help for telling you where you can find the information that you were asking for.
Maybe you should read
this sticky which contains
e) Realize YOU have to do work to solve the problem you are having. People here can offer ideas/suggestions/input and maybe even solve things entirely, but it's up to YOU to do the work.
and
f) Be considerate and polite to other posters.
Additionally, you asked for help not for the codes in your original post.