Change it from this
mysql_query("INSERT INTO users (`ID`, `User`, `Pass`) VALUES("", $_POST['username'], md5($_POST['password']))") or die("Failed to execute query.");
to this
mysql_query("INSERT INTO users (ID, User, Pass) VALUES('', $_POST['username'], md5($_POST['password']))") or die("Failed to execute query.");
But i dont think thats where there error is, if it ws it would have echoed out
Faild to execute the query.
You may need to post a couple of lines above this if its not the error.