UnrealEd: Hope you don't mind if I jump in here.
It appears that the $_POST variables are empty, probably due to a mismatch in the names used or some problem in the form code. If you post the form code it would help.
You can also add the following, right after the <? opening PHP tag, to get PHP to tell you more info about what is going on and to show you the actual POST variables -