I am working on some code for my neighbor's camp, but for some reason the code that allows people to update their registration information will not update.
<?php
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query = "UPDATE registration
SET playerfirst = '$playerfirst',
playerlast = '$playerlast',
playeraddress = '$playeraddress',
playercity = '$playercity',
playerstate = '$playerstate',
playerzipcode = '$playerzipcode',
guardianphone = '$homephone',
guardiancell = '$cellphone',
playeremail = '$playeremail',
playerage = '$playerage',
playerweight = '$playerweight',
playerheight = '$playerheight',
playergrade = '$playergrade',
playerposition = '$playerposition',
playerschool'$playerschool',
playerlevel = '$playerlevel',
playercoach = '$playercoach',
playercountry = '$playercountry',
roommate = '$roommate',
guardianwork = '$workphone',
guardianfirst = '$guardianfirst',
guardianlast = '$guardianlast',
guardianemail = '$guardianemail',
emergencyfirst = '$emergencyfirst',
emergencylast = '$emergencylast',
emergencyhome = '$emergencyhomephone',
emergencycell = '$emergencycellphone',
emergencyemail = '$emergencyemail'
WHERE user = '$user'";
mysql_query($query);
mysql_close();
?>