Hi ,I got a problem , I try to input the username and password into database,but I got those problem


( ! ) Notice: Undefined variable: register in D:\PHPlearn\Assignment3\index.php on line 68

( ! ) Notice: Undefined index: in D:\PHPlearn\Assignment3\index.php on line 68


<input type="submit" name="login" value="Login">
<input type="submit" name="register" value="register">
<?php


if($_POST["$register"]!="")
{

mysql_select_db("assignment3" , $connect);
mysql_query("INSERT INTO ass3_info (name,password)
VALUES ('".$username."','".$pwd."')");

mysql_close($connect);
}

?>