--- branches/paul/admin/include/validate_mysql.php 2004/03/18 19:58:18 68 +++ branches/paul_xx/admin/include/validate_mysql.php 2004/03/18 20:01:09 69 @@ -59,9 +59,9 @@ . "')"; // Fetch the results - $rs = mysql_tryquery($sql); + $rs = xx_tryquery($sql); - $row = mysql_fetch_array ($rs, MYSQL_ASSOC); + $row = xx_fetch_array ($rs, xx_ASSOC); $last_login = Trim($row["last_login"]); $last_ip = Trim($row["last_ip"]); $access_id = (int) $row["access_id"]; @@ -69,7 +69,7 @@ $access = Trim($row["access"]); // If a 1+ rows are returned, user is validated - if (mysql_num_rows($rs) >= 1) { + if (xx_num_rows($rs) >= 1) { $validated = $access_id; $current_ip = $GLOBALS["REMOTE_ADDR"]; @@ -85,7 +85,7 @@ . "' WHERE staff.staff_account = '" . $user . "'"; - mysql_tryquery($sql); + xx_tryquery($sql); } } // password > 5 characters in length