>Go back to finding out what's going on with the $submit. This code: >if(!$submit) { >should work fine in ALL versions of PHP, even the most recent. Not if register_globals is not turned on... if register_globals isn't turned on, then you can only access form vars through the $HTTP_POST_VARS[] and $_POST[] variables. --Jason