PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I found the problem, but I don't think I can do anything about it.
When I use the mouse to click on the submit button all is well.
However when I use the enter key to fire the submit button it
fails to process anything. It just clears the field.
Your code relies on the submit button being in the submission data, which it, apparently, is not. Look for another form element or detect the submission through other means such as $_SERVER['REQUEST_METHOD'].
Also be aware that your code may rely on register_globals being on too, which is even worse because it can be turned off. For more on how to remove this dependency, consult the search features of the forum.