Code:
Fatal error: Call to undefined function mysql_connect() in C:\Users\***\***\***\Server\htdocs\register\submit.php on line 13
Code:
/// IP | Username | Password
$connection = mysql_connect ("localhost" , "root" , "trinity") or die("Connection to the database could not be established");
/// Realm Database
mysql_select_db("auth") or die ("Database could not be selected");
$mysqluser = mysql_real_escape_string($_POST["mysqluser"]);
$email = mysql_real_escape_string($_POST["email"]);
$pw = mysql_real_escape_string($_POST["pw"]);
$pw2 = mysql_real_escape_string($_POST["pw2"]);
$ip = getenv("REMOTE_ADDR");

I get the error up top whenever I try to make an account through the web page; I'm running under trinity and running on patch 4.0.6 for the server; if anyone sees the issue in the code please let me know because I've been searching for days now to no avail. Thank you in advance.