|First step: Learn how to ask the question. The link in this post should help with that.|
Second step: Learn that we're not going to do it for you. We'll help you if you're stuck or get an error (provided you post the non-working code), but that's our limit.
How To Ask Questions The Smart Way