I cna't figuire out what is wrong, I use this code<br />
<br />
$query = "UPDATE `accounts` SET (jail) = '$jail', (hospital) = '$hospital', (crime) = '$usercrime' WHERE (username} = '".$_SESSION['myusername']."'";<br />
$result = mysql_query($query);<br />
<br />
but it doesnt seem to work, could someone help me out? Maybe fix up my code a little bit? I have been through many tutorials on the internet, and cant find one that makes sense or that works.<br />
<br />
$query = "UPDATE `accounts` SET (jail) = '$jail', (hospital) = '$hospital', (crime) = '$usercrime' WHERE (username} = '".$_SESSION['myusername']."'";<br />
$result = mysql_query($query);<br />
<br />
but it doesnt seem to work, could someone help me out? Maybe fix up my code a little bit? I have been through many tutorials on the internet, and cant find one that makes sense or that works.<br />