Sorry, still didn't work!
I have made the changes suggested so far, but it still hasn't validated the captcha box by matching the input text with that of the image, and it hasn't subsequently entered into the database either.
Have you got any other thoughts?
Thanks thus far.