1st Problem Resolved:
New Problem.
Okay so I got everything working, even a registration page. Only downside is that when you try to login with an account that was registered on the site and not the game you get disconnected.
Here's my registration code.
<html>
<body>
<?php
$entryu = $_POST['entryn'];
$entryp = $_POST['entryp'];
$entryp2 = crypt($entryp, 'PN');
$entryp = substr($entryp2, 2);
$host = "209.159.196.99";
$user = "root";
$pass = "knight";
$connection = mysql_connect($host, $user, $pass) or die ("Couldn't Connect To Server");
$db = mysql_select_db("rmxosdb", $connection) or die ("Couldn't Connect to Database");
$result = mysql_query("SELECT * FROM users;") or die ("Couldn't Connect to Database");
$row_count = mysql_num_rows($result);
$query = "INSERT INTO `rmxosdb`.`users` (`user_id` ,`username` ,`password` ,`usergroup` ,`banned` )VALUES ($row_count+1, '$entryu', '$entryp', 0, 0);";
$result = mysql_query($query) or die ("Registration Failed.");
echo "Registration success. You may now log into the game.";
?>
</body>
</html>
It may be a problem with the game, or my PHP code. I'm not sure. But I registered two different accounts with the same password. One with the site, and one on the game. The passwords matched in the database so that can't be the problem.