Can you explain what you expect to happen versus what really happens? Any errors?
Make sure to format your code pastes