Here is the code that processes the form:
if ($submit) {
$db = mysql_connect("localhost", "user", "password");
mysql_select_db("dbname",$db);
$sql = "INSERT INTO profiles (id,user,name,lvl,race,class,aas,epic,vpkey,stkey,pov,hoh,cod,bot,magelo,email,screenshot,bio) VALUES ('','$user','$name','$lvl','$race','$class','$aas','$epic','$vpkey','$stkey','$pov','$hoh','$cod','$bot','$magelo','$email','$screenshot','$bio')";
$result = mysql_query($sql);
echo "<center>Thank you! Information updated.\n";
echo "<br><a href=welcome.php?user=$user>Back to Control Center</a>\n";
} else {
?>