Toggling led with button switch problem

Thanks for the reply, I tested it, but it didn't work. I think I found it by trying to use the analog inputs instead of using the digital in/outputs. When I use digitalRead() and digitalWrite() in 1 sketch, my arduino will still think the digital input is HIGH. So there is something wrong with my arduino I think. But if it isn't, it's that I can't use digitalRead() and digitalWrite() in 1 sketch.

Thanks,

_Sander_1