Thanks for that, I found the problem was just the dodgy cord and will probably purchase a new one. It is similar to some nokia chargers and camera charges, but not one of the most common cords (otherwise I might already have one).
I just have to bend the cord in a certain direction for it to stay connected.