-userID PK auto increment
-username
-password
-grop_user
Code (PHP)
mysql_query("lnsert into student(stID,name,suname,userID) values('$stID','$name','$suname','$userID')")or die(mysql_error());
mysql_query("lnsert into user(userID,username,password,grop_user) values('$userID','$username','$password','$grop_user')")or die(mysql_error());