mysql_query UPDATE users SET email ank email name ank name sey_sekret

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
mysql_query("UPDATE `users` SET
`email` = '".$ank['email']."',
`name` = '".$ank['name']."',
`sey_sekret`='".$ank['sey_sekret']."',
`fam` = '".$ank['fam']."',
`sity` = '".$ank['sity']."',
`country` = '".$ank['country']."',
`day` = '".$ank['day']."',
`icq` = '".$ank['icq']."',
`tel` = '".$ank['tel']."'
WHERE `id` = '".$ank['id']."'");
echo '<div class="close">Анкета отредактирована!</div>';
}else{
echo err($err);
}
}