Well just by looking at the code, you don't have a space between VALUES and the '

Are you getting any sort of exception thrown when you run the code?