$id=select id from account where name='.$
网友回答
$id=select id from account where name='.$_SESSION['login'].' LIMIT 1;
$sql=mysql_query($id);
$res=mysql_fetch_assoc($sql);
.mysql_query($sql=update user set level='.$_POST['level'].' where account_id='.$sql['id'].');