<input id="register-ref" =="" class="input100 has-val" type="text" name="username" value="<?php echo (int)$_GET["ref"];?>">