Please read this post to see how to insert code properly into the forums and then edit your post
Have you tried some of the tutorials from the Learn section?