<?
$student = $_POST['student'];
$level = $_POST['level'];
mysql_connect("localhost","rskingd","*****") or die ("Cannot Connect to DB");
mysql_select_db("rskingd_uk_db") or die ("Cannot Select DB");
$query="update rsd_students
set level = '$level'
where name = '$student'";
mysql_query=("$query") or die ("Cannot Query DB");
?>
<html>
<head>
<title>Level Entered</title>
</head>
<body>
print("
If no errors occured then $student's level was changed to $level. If errors did occur please contact Bert204. Click <a href=http://avidgamers.com/members.php>here</a> to go back.
");
</body>
</html>
first off, it helps if you tell us what the error is and it also helps if you give us more than a line number so we don't have to go trudging throught the code.
that said, you have a misplaced = on this line: mysql_query=("$query") or die ("Cannot Query DB");