Well looking at your form for 2 seconds, I see no name attribute with your HTML:
<input type="submit" value="Go">
Yet, in your PHP code you look for $_POST['submit'].
Should be able to just change your HTML a bit:
<input type="submit" name="submit" value="Go">
FYI - I see a lot of people using isset with super globals or arrays. I have always just tested for a value in the array.
I would have written:
if ($_POST['submit'])
{
//...do stuff
}
Can someone tell me if there is any advantage in using isset here?