cgraz has correctly identified one problem as the "if" part.
Here are some conditions that will test positive and cause the "then" part of the if clause to execute.
If($submittry) {//then execute}
If ($try) {//then execute }
First off, why test at all? If you're executing the script, it's because someone clicked the form button, yes?
If you need to test -- for example 2 different submit buttons call this script -- simply test for the name, not the value. I think the value of $submittry would be ==its label, the name 'SUBMIT', but you might decide to change this label. If it hasn't been clicked, it won't be an initialized variable.
The other problem is using $HTTP_GET_VARS["try"]
You don't need this at all -- $try will be initialized for you automatically without referencing the array.
In any case, forms "POST" and you'd probably only find the variable if you look in the right spot, i.e. NOT in GET vars.
In 4.x, the manual recommends using $_POST to reference your posted vars rather than $HTTP_POST_VARS.
I personally like $REQUEST, which captures POST vars, GET vars, and $COOKIE too, if I'm not mistaken.