I don't know what your second error means as it doesn't give the name of the undefined index.
02-14-2013, 12:39 PM
The second error is caused by the first. PHP doesn't find a definition for a $register variable, so it gives an error and evaluates it to NULL. It then tries to evaluate $_POST[NULL] and throws the second error.